Click or drag to resize

MultiChunkBufferEnsureCapacity 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.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public void EnsureCapacity(
	int minimumCapacity
)

Parameters

minimumCapacity
Type: SystemInt32
The minimum capacity.

Implements

IByteBufferEnsureCapacity(Int32)
See Also