BloombergLP::bslx::GenericOutStream::putArrayInt8

Write an array of one-byte signed integers from the specified values to the stream supplied at construction.

Synopsis

Declared in <bslx_genericoutstream.h>

GenericOutStream<STREAMBUF>&
putArrayInt8(
    char const* values,
    int numValues);

Description

Write to the stream supplied at construction the consecutive one-byte, two's complement integers comprised of the least-significant one byte of each of the specified numValues leading entries in the specified values, 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.