Click or drag to resize

SingleChunkBufferEnsureCapacity Method

Ensure that the buffer has a minimum capacity. Depending on the buffer allocation strategy calling this method may result in a higher capacity than the minimum (but never lower).

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public void EnsureCapacity(
	int minimumCapacity
)

Parameters

minimumCapacity
Type: SystemInt32
The minimum capacity.

Implements

IByteBufferEnsureCapacity(Int32)
See Also