[#BloombergLP-bslx-TestOutStream-length]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]::length
:relfileprefix: ../../../
:mrdocs:

Return the number of bytes in this stream&period;

== Synopsis

Declared in `&lt;bslx&lowbar;testoutstream&period;h&gt;`

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


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