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