Method EnsureCapacity
EnsureCapacity(int)
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).
void EnsureCapacity(int minimumCapacity)
Parameters
minimumCapacity
intThe minimum capacity.