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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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