Click or drag to resize

MultiChunkBuffer Constructor (IEnumerable<IBsonChunk>, Nullable<Int32>, Boolean)

Initializes a new instance of the MultiChunkBuffer class.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public MultiChunkBuffer(
	IEnumerable<IBsonChunk> chunks,
	int? length = null,
	bool isReadOnly = false
)

Parameters

chunks
Type: System.Collections.Generic.IEnumerable<IBsonChunk>
The chunks.
length (Optional)
Type: System.Nullable<Int32>
The length.
isReadOnly (Optional)
Type: System.Boolean
Whether the buffer is read only.
Exceptions
ExceptionCondition
ArgumentNullExceptionchunks
See Also