Constructor MultiChunkBuffer
MultiChunkBuffer(IBsonChunkSource)
Initializes a new instance of the MultiChunkBuffer class.
public MultiChunkBuffer(IBsonChunkSource chunkSource)Parameters
- chunkSourceIBsonChunkSource
- The chunk pool. 
Exceptions
- ArgumentNullException
- chunkPool 
MultiChunkBuffer(IEnumerable<IBsonChunk>, int?, bool)
Initializes a new instance of the MultiChunkBuffer class.
public MultiChunkBuffer(IEnumerable<IBsonChunk> chunks, int? length = null, bool isReadOnly = false)Parameters
- chunksIEnumerable<IBsonChunk>
- The chunks. 
- lengthint?
- The length. 
- isReadOnlybool
- Whether the buffer is read only. 
Exceptions
- ArgumentNullException
- chunks