[#BloombergLP-bdlsb-MemOutStreamBuf-reset]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/MemOutStreamBuf.adoc[MemOutStreamBuf]::reset
:relfileprefix: ../../../
:mrdocs:

Reset this stream buffer to its default&hyphen;constructed empty state&period;

== Synopsis

Declared in `&lt;bdlsb&lowbar;memoutstreambuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reset();
----

== Description

Destroy the contents of this stream buffer, return all allocated memory to the allocator, and reset the buffer to the default constructed state&period; Note that `length() &equals;&equals; 0` holds following a call to this method&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
