DataStream Constructor(Int32,Boolean,Boolean)
In This Topic
Initializes a new instance of the
DataStream class, and allocates a new buffer to use as a backing store.
Syntax
'Declaration
Public Function New( _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
)
public DataStream(
System.int ,
System.bool ,
System.bool
)
Parameters
- sizeInBytes
- The size of the buffer to be allocated, 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