BloombergLP::bslx::MarshallingUtil::putArrayInt16

putArrayInt16 overloads

Synopses

Declared in <bslx_marshallingutil.h>

Store consecutive two-byte integers into the specified buffer.

static
void
putArrayInt16(
    char* buffer,
    short const* values,
    int numValues);
» more...

Same as the preceding overload for const unsigned short *values.

static
void
putArrayInt16(
    char* buffer,
    unsigned short const* values,
    int numValues);
» more...

Parameters

NameDescription
bufferdestination buffer in network byte order
valuesarray of host-order two-byte integers to write
numValuesnumber of values to write