ComponentOne Bitmap for WPF
DataStream Constructor(IntPtr,Int64,Boolean,Boolean)

C1.WPF.DX.4 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.
Initializes a new instance of the DataStream class, using an unmanaged buffer as a backing store.
Syntax
'Declaration
 
Public Function New( _
   ByVal userBuffer As System.IntPtr, _
   ByVal sizeInBytes As System.Long, _
   ByVal canRead As System.Boolean, _
   ByVal canWrite As System.Boolean _
)
public DataStream( 
   System.IntPtr userBuffer,
   System.long sizeInBytes,
   System.bool canRead,
   System.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

Reference

DataStream Class
DataStream Members
Overload List