BloombergLP::balber::BerDecoder::decode

decode overloads

Synopses

Declared in <balber_berdecoder.h>

Decode an object of parameterized TYPE from the specified stream and load the result into the specified modifiable variable. Return 0 on success, and a non-zero value otherwise. If the decoding fails stream will be invalidated.

template<typename TYPE>
int
decode(
    std::istream& stream,
    TYPE* variable);
» more...

Decode an object of parameterized TYPE from the specified streamBuf and load the result into the specified variable. Return 0 on success, and a non-zero value otherwise.

template<typename TYPE>
int
decode(
    std::streambuf* streamBuf,
    TYPE* variable);
» more...