Initializes a new instance of the
DataStream class, and allocates a new buffer to use as a backing store.
シンタックス
'宣言
Public Function New( _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
)
public DataStream(
System.int ,
System.bool ,
System.bool
)
パラメータ
- 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
.
参照