[#BloombergLP-bslx-MarshallingUtil-getArrayInt40] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::getArrayInt40 :relfileprefix: ../../../ :mrdocs: Load 40‐bit integers from `buffer` into `variables`. == Synopsis Declared in `<bslx_marshallingutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void getArrayInt40( xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]* variables, char const* buffer, int numVariables); ---- == Description Load into the specified `variables` the consecutive five‐byte, two's complement integers (in host byte order) comprised of each of the specified `numVariables` leading five‐byte sequences in the specified `buffer` (in network byte order). The behavior is undefined unless `variables` has sufficient capacity, `buffer` has sufficient contents, and `0 <= numVariables`. Note that each of the values will be sign‐extended. == Parameters [cols="1,4"] |=== | Name| Description | *variables* | array receiving host‐order five‐byte integers | *buffer* | source buffer in network byte order | *numVariables* | number of values to read |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#