BloombergLP::bslx::InStreamFunctions::InStreamFunctions_AccessorHelper::getArray

Load length bool values from stream into result.

Synopsis

Declared in <bslx_instreamfunctions.h>

static
STREAM&
getArray(
    STREAM& stream,
    bool* result,
    int length);

Description

Load into the specified result the specified length values read from the specified stream, and return a reference to stream. If stream is initially invalid, *result is unchanged. If stream becomes invalid during this operation, the contents of result have an undefined, but valid, state.

Return Value

a reference to stream

Parameters

NameDescription
streaminput stream from which to read
resultarray to receive the unexternalized values
lengthnumber of values to read into result