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.20.0+ee01960089f28ea1b501690df5fc9f6318a70242
Syntax public void EnsureCapacity(
int minimumCapacity
)
Public Sub EnsureCapacity (
minimumCapacity As Integer
)
abstract EnsureCapacity :
minimumCapacity : int -> unit
override EnsureCapacity :
minimumCapacity : int -> unit
Parameters
- minimumCapacity
- Type: SystemInt32
The minimum capacity.
Implements
IByteBufferEnsureCapacity(Int32)See Also