Loading...
Searching...
No Matches
Namespaces
Endian.h File Reference

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 >
little (const T &value)
 
template<typename Iterator >
void little (const Iterator &begin, const Iterator &end)
 
Convert Big Endian <=> Machine Representation
template<typename 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
 

Detailed Description

Detect Endianess of processor and conversion methods.