Table of Contents

Constructor ByteArrayBuffer

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

ByteArrayBuffer(byte[], bool)

Initializes a new instance of the ByteArrayBuffer class.

public ByteArrayBuffer(byte[] bytes, bool isReadOnly = false)

Parameters

bytes byte[]

The bytes.

isReadOnly bool

Whether the buffer is read only.

ByteArrayBuffer(byte[], int, bool)

Initializes a new instance of the ByteArrayBuffer class.

public ByteArrayBuffer(byte[] bytes, int length, bool isReadOnly = false)

Parameters

bytes byte[]

The bytes.

length int

The length.

isReadOnly bool

Whether the buffer is read only.