BloombergLP::bslx::ByteOutStream::putArrayInt8

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

Synopsis

Declared in <bslx_byteoutstream.h>

ByteOutStream&
putArrayInt8(
    char const* values,
    int numValues);

Description

Write to this stream 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.