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

Decode the object referenced by the specified `variable` from the specified `streamBuf`&period; Return 0 on success, and a non&hyphen;zero value otherwise&period; Note that this function behaves identically to `decode`, but does not instantiate any templates at compile time at the expense of being slightly slower at runtime&semi; see the `balber` package documentation for more details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
decodeAny(
    std::streambuf* streamBuf,
    xref:BloombergLP/bdlar/AnyRef.adoc[bdlar::AnyRef]* variable);
----


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