getValueIfNotReserved overloads

Synopses

Declared in <balber_berutil.h>

Read 2 bytes from the input sequence of the specified streamBuf and load to the specified value the interpretation of those bytes as an extended‐binary header value, if that header indicates the value is not in a format reserved for future use. Return 0 on success, and a non‐zero value otherwise.

static
int
getValueIfNotReserved(
    Header* value,
    std::streambuf* streamBuf);

Load to the specified value the interpretation of the specified headerByte0 and headerByte1 as the 2 bytes that comprise an encoded extended‐binary header value if that value indicates it is not in a format reserved for future use. Return 0 on success, and a non‐zero value otherwise.

static
int
getValueIfNotReserved(
    Header* value,
    unsigned char headerByte0,
    unsigned char headerByte1);

Created with MrDocs