[#BloombergLP-bslx-ByteOutStream-reserveCapacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]::reserveCapacity :relfileprefix: ../../../ :mrdocs: Set the internal buffer size of this stream to be at least the specified `newCapacity` (in bytes). == Synopsis Declared in `<bslx_byteoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reserveCapacity(std::size_t newCapacity); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#