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.

Synopsis

Declared in <balber_berdecoder.h>

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

Created with MrDocs