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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax void EnsureCapacity(
int minimumCapacity
)
Sub EnsureCapacity (
minimumCapacity As Integer
)
abstract EnsureCapacity :
minimumCapacity : int -> unit
Parameters
- minimumCapacity
- Type: SystemInt32
The minimum capacity.
See Also