[#BloombergLP-bslx-TestOutStream-putArrayInt48] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]::putArrayInt48 :relfileprefix: ../../../ :mrdocs: Write an array of six‐byte signed integers to this stream. == Synopsis Declared in `<bslx_testoutstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/TestOutStream.adoc[TestOutStream]& putArrayInt48( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] const* values, int numValues); ---- == Description Write to this stream the one‐byte type indicator for a six‐byte integer, the four‐byte, two's complement integer (in network byte order) comprised of the least‐significant four bytes of the specified `numValues` (in host byte order), and the consecutive six‐byte, two's complement integers (in network byte order) comprised of the least‐significant six bytes of each of the `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. If the next output operation has been set to be marked invalid (see `makeNextInvalid`), reset this marking and emit the invalid indicator instead of the type indicator. The behavior is undefined unless `0 <= numValues` and `values` has sufficient contents. == Return Value a reference to this stream == Parameters [cols="1,4"] |=== | Name| Description | *values* | array of values to write | *numValues* | number of leading entries in `values` to write |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#