[#BloombergLP-bdlsb-MemOutStreamBuf-reserveCapacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/MemOutStreamBuf.adoc[MemOutStreamBuf]::reserveCapacity :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlsb_memoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserveCapacity(std::size_t numCharacters); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#