BloombergLP::bslx::MarshallingUtil::getUint24

Load into the specified variable the three-byte, two's complement unsigned integer (in host byte order) comprised of the initial three bytes of the specified buffer (in network byte order). The behavior is undefined unless buffer has sufficient contents. Note that the value will be zero-extended.

Synopsis

Declared in <bslx_marshallingutil.h>

static
void
getUint24(
    unsigned int* variable,
    char const* buffer);