Click or drag to resize

ByteArrayBuffer Constructor (Byte, Int32, Boolean)

Initializes a new instance of the ByteArrayBuffer class.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public ByteArrayBuffer(
	byte[] bytes,
	int length,
	bool isReadOnly = false
)

Parameters

bytes
Type: SystemByte
The bytes.
length
Type: SystemInt32
The length.
isReadOnly (Optional)
Type: SystemBoolean
Whether the buffer is read only.
See Also