Encode the specified any to the specified stream.

Synopsis

Declared in <balber_berencoder.h>

int
encodeAny(
    std::ostream& stream,
    bdlar::AnyConstRef const& any);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

stream

output stream

any

type‐erased value to encode

Created with MrDocs