Click or drag to resize

SingleChunkBuffer Constructor

Initializes a new instance of the SingleChunkBuffer class.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax
public SingleChunkBuffer(
	IBsonChunk chunk,
	int length,
	bool isReadOnly = false
)

Parameters

chunk
Type: MongoDB.Bson.IOIBsonChunk
The chuns.
length
Type: SystemInt32
The length.
isReadOnly (Optional)
Type: SystemBoolean
Whether the buffer is read only.
See Also