BloombergLP::bslx::MarshallingUtil::getInt8

Load the one-byte integer from the specified buffer into the specified variable.

Synopsis

Declared in <bslx_marshallingutil.h>

static
void
getInt8(
    char* variable,
    char const* buffer);

Description

Load into the specified variable the one-byte, two's complement integer comprised of the initial one byte of the specified buffer. The behavior is undefined unless buffer has sufficient contents.