Write an array of four‐byte unsigned integers to this stream.

Synopsis

Declared in <bslx_byteoutstream.h>

ByteOutStream&
putArrayUint32(
    unsigned int const* values,
    int numValues);

Description

Write to this stream the consecutive four‐byte, two's complement unsigned integers (in network byte order) comprised of the least‐significant four bytes of each of the specified numValues leading entries in the specified values (in host byte order), and return a reference to this stream. If this stream is initially invalid, this operation has no effect. The behavior is undefined unless 0 <= numValues and values has sufficient contents.

Return Value

a reference to this stream

Parameters

Name

Description

values

array of unsigned integers to write

numValues

number of integers to write

Created with MrDocs