[#BloombergLP-bdlsb-MemOutStreamBuf-reset] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/MemOutStreamBuf.adoc[MemOutStreamBuf]::reset :relfileprefix: ../../../ :mrdocs: Destroy the contents of this stream buffer, return all allocated memory to the allocator, and reset the buffer to the default constructed state. Note that `length() == 0` holds following a call to this method. == Synopsis Declared in `<bdlsb_memoutstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reset(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#