Enumerations | |
enum | endianness { big, little, raw, swap, guess } |
Functions | |
std::ostream & | operator<< (std::ostream &, const endianness &e) |
bool | need_swap (endianness tag, bool guess_swap) |
bool tool::endian::need_swap | ( | endianness | tag, | |
bool | guess_swap | |||
) | [inline] |
Return true when conversion from tag
to the host byte order needs a swap.
If tag
is endian::guess
then return guess_swap
.