Table of Contents

Constructor MultiChunkBuffer

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

MultiChunkBuffer(IBsonChunkSource)

Initializes a new instance of the MultiChunkBuffer class.

public MultiChunkBuffer(IBsonChunkSource chunkSource)

Parameters

chunkSource IBsonChunkSource

The chunk pool.

Exceptions

ArgumentNullException

chunkPool

MultiChunkBuffer(IEnumerable<IBsonChunk>, int?, bool)

Initializes a new instance of the MultiChunkBuffer class.

public MultiChunkBuffer(IEnumerable<IBsonChunk> chunks, int? length = null, bool isReadOnly = false)

Parameters

chunks IEnumerable<IBsonChunk>

The chunks.

length int?

The length.

isReadOnly bool

Whether the buffer is read only.

Exceptions

ArgumentNullException

chunks