[#BloombergLP-bsls-ByteOrderUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::ByteOrderUtil
:relfileprefix: ../../
:mrdocs:

This `class` provides a namespace for functions used for reversing the byte order of values having integral type&period;

== Synopsis

Declared in `&lt;bsls&lowbar;byteorderutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct ByteOrderUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/ByteOrderUtil/swapBytes-0ac.adoc[`swapBytes`] 
| `swapBytes` overloads
| xref:BloombergLP/bsls/ByteOrderUtil/swapBytes16.adoc[`swapBytes16`] 
| Return the value that results from reversing the order of the bytes in the specified `x`&period;
| xref:BloombergLP/bsls/ByteOrderUtil/swapBytes32.adoc[`swapBytes32`] 
| Return the value that results from reversing the order of the bytes in the specified `x`&period;
| xref:BloombergLP/bsls/ByteOrderUtil/swapBytes64.adoc[`swapBytes64`] 
| Return the value that results from reversing the order of the bytes in the specified `x`&period;
|===



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