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

Return the number of characters from the current input position to the end of the stream buffer&period; The function returns the same value as `seekoff(0, bsl&colon;&colon;ios&lowbar;base&colon;&colon;beg)`&period; The length is modified by a call to `seekpos`, `seekoff` or by reading characters from the buffer&period;

== Synopsis

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

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


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