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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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