Write an array of three-byte signed integers to this stream.
Declared in <bslx_genericoutstream.h>
GenericOutStream<STREAMBUF>&
putArrayInt24(
int const* values,
int numValues);
Write to the stream supplied at construction the consecutive three-byte, two's complement integers (in network byte order) comprised of the least-significant three 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.
a reference to this stream
| Name | Description |
|---|---|
| values | array of integers to write |
| numValues | number of integers to write |