BloombergLP::balber::BerUtil_DateAndTimeHeaderImpUtil::getValue

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

Synopsis

Declared in <balber_berutil.h>

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

Description

header value. Return 0 on success, and a non-zero value otherwise. The behavior is undefined if the interpretation of the 2 bytes as an extended-binary header indicates the value is in a format reserved for future use.

Return Value

0 on success, and a non-zero value otherwise

Parameters

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