Method Create
Create(IBsonChunkSource, int)
Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created.
Parameters
chunkSource
IBsonChunk Source The chunk pool.
minimumCapacity
intThe minimum capacity.
Returns
- IByte
Buffer A buffer with at least the minimum capacity.