Detect Endianess of processor and conversion methods. More...
#include <utility>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | bbm |
| namespace | bbm::endian |
Functions | |
Convert to Little Endian <=> Machine Representation | |
| template<typename T > | |
| T | little (const T &value) |
| template<typename Iterator > | |
| void | little (const Iterator &begin, const Iterator &end) |
Convert Big Endian <=> Machine Representation | |
| template<typename T > | |
| T | big (const T &value) |
| template<typename Iterator > | |
| void | big (const Iterator &begin, const Iterator &end) |
Variables | |
determine Endianess | |
| static const bool | isLittleEndian = detail::_isLittleEndian |
| static const bool | isBigEndian = !detail::_isLittleEndian |
Detect Endianess of processor and conversion methods.