Click or drag to resize

MultiChunkBuffer Constructor (IEnumerableIBsonChunk, NullableInt32, Boolean)

Initializes a new instance of the MultiChunkBuffer class.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public MultiChunkBuffer(
	IEnumerable<IBsonChunk> chunks,
	Nullable<int> length = null,
	bool isReadOnly = false
)

Parameters

chunks
Type: System.Collections.GenericIEnumerableIBsonChunk
The chunks.
length (Optional)
Type: SystemNullableInt32
The length.
isReadOnly (Optional)
Type: SystemBoolean
Whether the buffer is read only.
Exceptions
ExceptionCondition
ArgumentNullExceptionchunks
See Also