Template Struct Endian< uint64_t >
Defined in File Endian.h
Struct Documentation
-
template<>
struct Endian<uint64_t> Perform conversions between host byte ordering and big endian for unsigned 64-bit integers.
- Template Parameters
unsigned – 64-bit integer
Public Static Functions
-
static inline uint64_t htobe(uint64_t in)
Convert host byte order input to big endian output.
- Parameters
in – host byte ordered input value
- Returns
uint64_t big endian representation of the input value
-
static inline uint64_t betoh(uint64_t in)
Convert big endian input to host byte order output.
- Parameters
in – big endian input value
- Returns
uint64_t host byte ordered representation of the input value