[#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. The function returns the same value as `seekoff(0, bsl::ios_base::beg)`. The length is modified by a call to `seekpos`, `seekoff` or by reading characters from the buffer. == Synopsis Declared in `<bdlsb_fixedmeminstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::size_t length() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#