[#BloombergLP-bslx-ByteInStream-getArrayInt8-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/ByteInStream.adoc[ByteInStream]::getArrayInt8
:relfileprefix: ../../../
:mrdocs:

Extract the next array of one&hyphen;byte signed integers into the specified `variables`&period;

== Synopsis

Declared in `&lt;bslx&lowbar;byteinstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslx/ByteInStream.adoc[ByteInStream]&
getArrayInt8(
    char* variables,
    int numVariables);
----

== Description

Assign to the specified `variables` the consecutive one&hyphen;byte, two&apos;s complement integers comprised of each of the specified `numVariables` one&hyphen;byte sequences of this stream at the current cursor location, update the cursor location, and return a reference to this stream&period; If this stream is initially invalid, this operation has no effect&period; If this function otherwise fails to extract a valid value, this stream is marked invalid and the value of `variables` is undefined&period; The behavior is undefined unless `0 &lt;&equals; numVariables` and `variables` has sufficient capacity&period; Note that each of the values will be sign&hyphen;extended&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
