Encode the specified object to the specified buffer without instantiating encoding templates at compile time.
Synopsis
Declared in <balxml_encoder.h>
int
encodeAny(
std::streambuf* buffer,
bdlar::AnyConstRef const& object);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
buffer |
output stream buffer to receive XML |
object |
type‐erased value to encode |
Created with MrDocs