[#BloombergLP-balxml-Decoder-decodeAny-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Decoder.adoc[Decoder]::decodeAny :relfileprefix: ../../../ :mrdocs: Decode into a type‐erased `bdlar::AnyRef` from the specified `stream`. == Synopsis Declared in `<balxml_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::istream& decodeAny( std::istream& stream, xref:BloombergLP/bdlar/AnyRef.adoc[bdlar::AnyRef]* object, char const* uri = 0); ---- == Return Value a reference to the modifiable `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | input stream providing XML data | *object* | object being decoded | *uri* | optional URI identifying the input document in error messages |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#