[#BloombergLP-bdlb-BigEndianUint64]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::BigEndianUint64
:relfileprefix: ../../
:mrdocs:

In&hyphen;core representation of an unsigned 64&hyphen;bit big&hyphen;endian integer&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;bigendian&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class BigEndianUint64;
----

== Description

This class provides a container for an in&hyphen;core representation of an unsigned 64&hyphen;bit big&hyphen;endian integer&period; It supports a complete set of _value_ _semantic_ operations, including copy construction, assignment, equality comparison, `bsl&colon;&colon;ostream` printing, and BDEX serialization&period; Note that the copy constructor and copy&hyphen;assignment operator are provided by the compiler&period; Any object of this class can be converted to a `Uint64` allowing comparison with any other object of this class&period; This class is _exception_ _neutral_ with no guarantee of rollback&colon; if an exception is thrown during the invocation of a method on a pre&hyphen;existing object, the object is left in a valid state, but its value is undefined&period; In no event is memory leaked&period; Finally, _aliasing_ (e&period;g&period;, using all or part of an object as both source and destination) is supported in all cases&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/BigEndianUint64/operator_assign.adoc[`operator&equals;`] 
| Store in this object the specified `value` as an unsigned 64&hyphen;bit big&hyphen;endian integer, and return a reference to this modifiable object&period;
| xref:BloombergLP/bdlb/BigEndianUint64/bdexStreamIn.adoc[`bdexStreamIn`] 
| Assign to this object the value read from the specified input `stream`&period;
| xref:BloombergLP/bdlb/BigEndianUint64/bdexStreamOut.adoc[`bdexStreamOut`] 
| Write this value to the specified output `stream`&period;
| xref:BloombergLP/bdlb/BigEndianUint64/print.adoc[`print`] 
| Format this object to the specified output `stream`&period;
| xref:BloombergLP/bdlb/BigEndianUint64/2conversion-07.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;BigEndianUint64, HasPrintMethod&gt;`] 
| Declare that this type is trivially copyable&period;
| xref:BloombergLP/bdlb/BigEndianUint64/2conversion-05.adoc[`operator bsls::Types::Uint64`] 
| Return the value stored in this object as a `bsls&colon;&colon;Types&colon;&colon;Uint64` in the native byte&hyphen;order&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/BigEndianUint64/make.adoc[`make`] 
| Create and initialize a `BigEndianUint64` object that stores the specified `value` as an unsigned 64&hyphen;bit big&hyphen;endian integer&period;
| xref:BloombergLP/bdlb/BigEndianUint64/maxSupportedBdexVersion-07.adoc[`maxSupportedBdexVersion`] 
| `maxSupportedBdexVersion` overloads
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/bdlb/operator_not_eq-01c.adoc[BloombergLP::bdlb::operator!&equals;]`
| Return `true` if the specified `lhs` and `rhs` do not have the same value&period;
| `xref:BloombergLP/bdlb/operator_eq-0c8.adoc[BloombergLP::bdlb::operator&equals;&equals;]`
| Return `true` if the specified `lhs` and `rhs` have the same value&period;
|===


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