#include <bsls_byteorderutil.h>
This class provides a namespace for functions used for reversing the byte order of values having integral type.
See bsls_byteorderutil
◆ swapBytes() [1/14]
| bool bsls::ByteOrderUtil::swapBytes |
( |
bool |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [2/14]
| char bsls::ByteOrderUtil::swapBytes |
( |
char |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [3/14]
| char8_t bsls::ByteOrderUtil::swapBytes |
( |
char8_t |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [4/14]
| int bsls::ByteOrderUtil::swapBytes |
( |
int |
x | ) |
|
|
inlinestatic |
Return the value that results from reversing the order of the bytes in the specified x.
◆ swapBytes() [5/14]
| long bsls::ByteOrderUtil::swapBytes |
( |
long |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [6/14]
| short bsls::ByteOrderUtil::swapBytes |
( |
short |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [7/14]
| signed char bsls::ByteOrderUtil::swapBytes |
( |
signed char |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [8/14]
◆ swapBytes() [9/14]
◆ swapBytes() [10/14]
| unsigned char bsls::ByteOrderUtil::swapBytes |
( |
unsigned char |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [11/14]
| unsigned int bsls::ByteOrderUtil::swapBytes |
( |
unsigned int |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [12/14]
| unsigned long bsls::ByteOrderUtil::swapBytes |
( |
unsigned long |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [13/14]
| unsigned short bsls::ByteOrderUtil::swapBytes |
( |
unsigned short |
x | ) |
|
|
inlinestatic |
◆ swapBytes() [14/14]
| wchar_t bsls::ByteOrderUtil::swapBytes |
( |
wchar_t |
x | ) |
|
|
inlinestatic |
◆ swapBytes16()
| unsigned short bsls::ByteOrderUtil::swapBytes16 |
( |
unsigned short |
x | ) |
|
|
inlinestatic |
Return the value that results from reversing the order of the bytes in the specified x.
◆ swapBytes32()
| unsigned int bsls::ByteOrderUtil::swapBytes32 |
( |
unsigned int |
x | ) |
|
|
inlinestatic |
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.
The documentation for this struct was generated from the following file: