#include <cstdint>
Classes | |
struct | RByteSwap< N > |
Helper templated class for swapping bytes; specializations for N={2,4,8} are provided below. More... | |
struct | RByteSwap< 2 > |
struct | RByteSwap< 4 > |
struct | RByteSwap< 8 > |
Macros | |
#define | R__bswap_16(x) R__bswap_constant_16(x) |
#define | R__bswap_32(x) R__bswap_constant_32(x) |
#define | R__bswap_64(x) R__bswap_constant_64(x) |
#define | R__bswap_constant_16(x) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)) |
#define | R__bswap_constant_32(x) |
#define | Rbswap_16(x) R__bswap_16(x) |
#define | Rbswap_32(x) R__bswap_32(x) |
#define | Rbswap_64(x) R__bswap_64(x) |
Functions | |
static uint64_t | R__bswap_constant_64 (uint64_t x) |
#define R__bswap_16 | ( | x | ) | R__bswap_constant_16(x) |
Definition at line 67 of file Byteswap.h.
#define R__bswap_32 | ( | x | ) | R__bswap_constant_32(x) |
Definition at line 82 of file Byteswap.h.
#define R__bswap_64 | ( | x | ) | R__bswap_constant_64(x) |
Definition at line 100 of file Byteswap.h.
Definition at line 57 of file Byteswap.h.
#define R__bswap_constant_32 | ( | x | ) |
Definition at line 71 of file Byteswap.h.
#define Rbswap_16 | ( | x | ) | R__bswap_16(x) |
Definition at line 105 of file Byteswap.h.
#define Rbswap_32 | ( | x | ) | R__bswap_32(x) |
Definition at line 108 of file Byteswap.h.
#define Rbswap_64 | ( | x | ) | R__bswap_64(x) |
Definition at line 111 of file Byteswap.h.
|
inlinestatic |
Definition at line 86 of file Byteswap.h.