Read a 16‐bit unsigned integer from stream into variable.

Synopsis

Declared in <bdlc_packedintarray.h>

template<class STREAM>
static
void
bdexGet16(
    STREAM& stream,
    uint16_t& variable);

Description

Read from the specified stream the specified variable as per the requirements of the BDEX protocol.

Parameters

Name

Description

stream

input stream to read from

variable

16‐bit unsigned value to populate

Created with MrDocs