| ByteBufferFactoryCreate Method  | 
 
            Creates a buffer of the specified length. Depending on the length, either a SingleChunkBuffer or a MultiChunkBuffer will be created.
            
 
    Namespace: 
   MongoDB.Bson.IO
    Assembly:
   MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
 Syntax
Syntaxpublic static IByteBuffer Create(
	IBsonChunkSource chunkSource,
	int minimumCapacity
)
Public Shared Function Create ( 
	chunkSource As IBsonChunkSource,
	minimumCapacity As Integer
) As IByteBuffer
static member Create : 
        chunkSource : IBsonChunkSource * 
        minimumCapacity : int -> IByteBuffer 
Parameters
- chunkSource
- Type: MongoDB.Bson.IOIBsonChunkSource
 The chunk pool.
- minimumCapacity
- Type: SystemInt32
 The minimum capacity.
Return Value
Type: 
IByteBufferA buffer with at least the minimum capacity.
 See Also
See Also