ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / DataStream Class / DataStream Constructor / DataStream Constructor(IntPtr,Int64,Boolean,Boolean)
A pointer to the buffer to be used as a backing store.
The size of the buffer provided, in bytes.
true if reading from the buffer should be allowed; otherwise, false.
true if writing to the buffer should be allowed; otherwise, false.

In This Topic
    DataStream Constructor(IntPtr,Int64,Boolean,Boolean)
    In This Topic
    Initializes a new instance of the DataStream class, using an unmanaged buffer as a backing store.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal userBuffer As IntPtr, _
       ByVal sizeInBytes As Long, _
       ByVal canRead As Boolean, _
       ByVal canWrite As Boolean _
    )
    public DataStream( 
       IntPtr userBuffer,
       long sizeInBytes,
       bool canRead,
       bool canWrite
    )

    Parameters

    userBuffer
    A pointer to the buffer to be used as a backing store.
    sizeInBytes
    The size of the buffer provided, in bytes.
    canRead
    true if reading from the buffer should be allowed; otherwise, false.
    canWrite
    true if writing to the buffer should be allowed; otherwise, false.
    See Also