[#BloombergLP-bslx-MarshallingUtil-getArrayInt48]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::getArrayInt48
:relfileprefix: ../../../
:mrdocs:

Load consecutive six&hyphen;byte integers from the specified `buffer`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
getArrayInt48(
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* variables,
    char const* buffer,
    int numVariables);
----

== Description

Load into the specified `variables` the consecutive six&hyphen;byte, two&apos;s complement integers (in host byte order) comprised of each of the specified `numVariables` leading six&hyphen;byte sequences in the specified `buffer` (in network byte order)&period; The behavior is undefined unless `variables` has sufficient capacity, `buffer` has sufficient contents, and `0 &lt;&equals; numVariables`&period; Note that each of the values will be sign&hyphen;extended&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *variables*
| array receiving host&hyphen;order six&hyphen;byte integers
| *buffer*
| source buffer in network byte order
| *numVariables*
| number of values to read
|===


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