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

Load into the specified `variable` the seven&hyphen;byte, two&apos;s complement unsigned integer (in host byte order) comprised of the initial seven bytes of the specified `buffer` (in network byte order)&period; The behavior is undefined unless `buffer` has sufficient contents&period; Note that the value 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
getUint56(
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* variable,
    char const* buffer);
----


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