[#BloombergLP-bslx-GenericInStream-getUint48] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/GenericInStream.adoc[GenericInStream]::getUint48 :relfileprefix: ../../../ :mrdocs: Extract a six‐byte unsigned integer into the specified `variable`. == Synopsis Declared in `<bslx_genericinstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslx/GenericInStream.adoc[GenericInStream<STREAMBUF>]& getUint48(xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]& variable); ---- == Description Assign to the specified `variable` the six‐byte, two's complement unsigned integer (in host byte order) comprised of the six bytes of this stream at the current cursor location (in network byte order), update the cursor location, and return a reference to this stream. If this stream is initially invalid, this operation has no effect. If this function otherwise fails to extract a valid value, this stream is marked invalid and the value of `variable` is undefined. Note that the value will be zero‐extended. == Return Value a reference to this stream == Parameters [cols="1,4"] |=== | Name| Description | *variable* | destination for the extracted value |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#