This class provides a namespace for functions used for reversing the byte order of values having integral type.

Synopsis

Declared in <bsls_byteorderutil.h>

struct ByteOrderUtil;

Static Member Functions

Name

Description

swapBytes

swapBytes overloads

swapBytes16

Return the value that results from reversing the order of the bytes in the specified x.

swapBytes32

Return the value that results from reversing the order of the bytes in the specified x.

swapBytes64

Return the value that results from reversing the order of the bytes in the specified x.

Created with MrDocs