Reserve capacity for at least the specified number of characters.
Declared in <bdlsb_memoutstreambuf.h>
void
reserveCapacity(std::size_t numCharacters);
Reserve sufficient internal capacity to store at least the specified numCharacters characters without reallocation. Note that if the storage size specified is less than the number of characters already in the buffer, this method has no effect.
| Name | Description |
|---|---|
| numCharacters | minimum capacity to reserve |