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

Return the number of characters from the beginning of the buffer to the current write position&period; This function returns the same value as `seekoff(0, bsl&colon;&colon;ios&lowbar;base&colon;&colon;end)`&period; The length is modified by a call to `seekpos` or `seekoff` and reset to zero by a call to `pubsetbuf`&period;

== Synopsis

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

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


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