[#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. == Synopsis Declared in `<bsls_byteorderutil.h>` [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`. | xref:BloombergLP/bsls/ByteOrderUtil/swapBytes32.adoc[`swapBytes32`] | Return the value that results from reversing the order of the bytes in the specified `x`. | xref:BloombergLP/bsls/ByteOrderUtil/swapBytes64.adoc[`swapBytes64`] | Return the value that results from reversing the order of the bytes in the specified `x`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#