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

Load into the specified `variables` the consecutive five&hyphen;byte, two&apos;s complement unsigned integers (in host byte order) comprised of each of the specified `numVariables` leading five&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 zero&hyphen;extended&period;

== Synopsis

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

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


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