Encode the specified any to the specified streamBuf.

Synopsis

Declared in <balber_berencoder.h>

int
encodeAny(
    std::streambuf* streamBuf,
    bdlar::AnyConstRef const& any);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

streamBuf

output stream buffer

any

type‐erased value to encode

Created with MrDocs