[#BloombergLP-bdlsb-OverflowMemOutStreamBuf-dataLength]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/OverflowMemOutStreamBuf.adoc[OverflowMemOutStreamBuf]::dataLength
:relfileprefix: ../../../
:mrdocs:

Return the number of bytes written to this stream&period; Note that if `pptr()` is currently pointing into the overflow buffer the data length will be greater than the size of the initial buffer&period;

== Synopsis

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

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


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