[#BloombergLP-bdlsb-MemOutStreamBuf-2constructor-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/MemOutStreamBuf.adoc[MemOutStreamBuf]::MemOutStreamBuf :relfileprefix: ../../../ :mrdocs: Create an empty stream buffer with sufficient initial capacity to accommodate up to the specified `numElements` characters without subsequent reallocation. If `numElements == 0`, an implementation‐defined initial capacity is used. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. == Synopsis Declared in `<bdlsb_memoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit MemOutStreamBuf( std::size_t numElements, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#