[#BloombergLP-bslx-operator_lshift-0fc]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::operator&lt;&lt;
:relfileprefix: ../../
:mrdocs:

Write the BDEX&hyphen;compliant `value` to the specified output `stream`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]&
operator&lt;&lt;(
    xref:BloombergLP/bslx/ByteOutStream.adoc[ByteOutStream]& stream,
    TYPE const& value);
----

== Description

Write the specified `value` to the specified output `stream` following the requirements of the BDEX protocol (see the `bslx` package&hyphen;level documentation), and return a reference to `stream`&period; The behavior is undefined unless `TYPE` is BDEX&hyphen;compliant&period;

== Return Value

a reference to `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream to write to
| *value*
| value to externalize
|===


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