Click or drag to resize

IByteBufferEnsureCapacity 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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
void EnsureCapacity(
	int minimumCapacity
)

Parameters

minimumCapacity
Type: SystemInt32
The minimum capacity.
See Also