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

Return the number of valid characters in this stream buffer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::size&lowbar;t
length() const;
----

== Return Value

number of valid characters in this stream buffer


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