[#BloombergLP-bdlsb-MemOutStreamBuf-capacity] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/MemOutStreamBuf.adoc[MemOutStreamBuf]::capacity :relfileprefix: ../../../ :mrdocs: Return the current capacity of the buffer managed by this stream buffer. == Synopsis Declared in `<bdlsb_memoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t capacity() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#