Load length float values from stream into result.

Synopsis

Declared in <bslx_instreamfunctions.h>

static
STREAM&
getArray(
    STREAM& stream,
    float* 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

Name

Description

stream

input stream from which to read

result

array to receive the unexternalized values

length

number of values to read into result

Created with MrDocs