BloombergLP::bslx::MarshallingUtil::getArrayUint16

Load into the specified variables the consecutive two-byte, two's complement unsigned integers (in host byte order) comprised of each of the specified numVariables leading two-byte sequences in the specified buffer (in network byte order). The behavior is undefined unless variables has sufficient capacity, buffer has sufficient contents, and 0 <= numVariables. Note that each of the values will be zero-extended.

Synopsis

Declared in <bslx_marshallingutil.h>

static
void
getArrayUint16(
    unsigned short* variables,
    char const* buffer,
    int numVariables);