[#BloombergLP-bslx-MarshallingUtil-getUint40] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/MarshallingUtil.adoc[MarshallingUtil]::getUint40 :relfileprefix: ../../../ :mrdocs: Load into the specified `variable` the five‐byte, two's complement unsigned integer (in host byte order) comprised of the initial five bytes of the specified `buffer` (in network byte order). The behavior is undefined unless `buffer` has sufficient contents. Note that the value will be zero‐extended. == Synopsis Declared in `<bslx_marshallingutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void getUint40( xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* variable, char const* buffer); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#