[#BloombergLP-bslx-TestInStream-getArrayUint48]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::getArrayUint48
:relfileprefix: ../../../
:mrdocs:

Consume an array of six&hyphen;byte unsigned integers from this stream&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]&
getArrayUint48(
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* variables,
    int numVariables);
----

== Description

If required, throw a `TestInStreamException` (see `throwExceptionIfInputLimitExhausted`)&semi; otherwise, consume the 8&hyphen;bit unsigned integer type code, verify the type of the next value in this stream, consume that 48&hyphen;bit unsigned integer array value into the specified `variables` of the specified `numVariables` if its type and length are appropriate, update the cursor location, and return a reference to this stream&period; If the type is incorrect, then this stream is marked invalid and the value of `variables` is unchanged&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;

== Return Value

a reference to this stream

== Parameters

[cols="1,4"]
|===
| Name| Description
| *variables*
| destination array for the extracted values
| *numVariables*
| number of values to extract
|===


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