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

Synopsis

Declared in <bslx_marshallingutil.h>

static
void
getInt48(
    bsls::Types::Int64* variable,
    char const* buffer);

Created with MrDocs