BloombergLP::balber::BerUtil_DateAndTimeHeaderImpUtil::getValue

getValue 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.

static
int
getValue(
    Header* value,
    std::streambuf* streamBuf);
» more...

Load to the specified value the interpretation of the specified headerByte0 and headerByte1 as the 2 bytes that comprise an encoded extended-binary.

static
int
getValue(
    Header* value,
    unsigned char headerByte0,
    unsigned char headerByte1);
» more...

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
valuedestination for the decoded value
streamBufinput stream buffer
headerByte0first byte of an extended-binary header
headerByte1second byte of an extended-binary header