[#BloombergLP-bdlde-Md5-bdexStreamOut]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Md5.adoc[Md5]::bdexStreamOut
:relfileprefix: ../../../
:mrdocs:

Write this value to the specified output `stream`&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;md5&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class STREAM&gt;
STREAM&
bdexStreamOut(
    STREAM& stream,
    int version) const;
----

== Description

Write this value to the specified output `stream` and return a reference to the modifiable `stream`&period; Optionally specify an explicit `version` format&semi; by default, the maximum supported version is written to `stream` and used as the format&period; If `version` is specified, that format is used, but _not_ written to `stream`&period; If `version` is not supported, `stream` is left unmodified&period; (See the package&hyphen;group&hyphen;level documentation for more information on `bdex` streaming of container types)&period;

== Return Value

a reference to the modifiable `stream`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream
| *version*
| BDEX format version
|===


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