[#BloombergLP-balber-BerEncoder-encodeAny-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerEncoder.adoc[BerEncoder]::encodeAny
:relfileprefix: ../../../
:mrdocs:

Encode the specified `any` to the specified `stream`&period;

== Synopsis

Declared in `&lt;balber&lowbar;berencoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
encodeAny(
    std::ostream& stream,
    xref:BloombergLP/bdlar/AnyConstRef.adoc[bdlar::AnyConstRef] const& any);
----


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