#include <boost/integer.hpp>
#include <boost/detail/endian.hpp>
Go to the source code of this file.
Classes | |
struct | Typelib::Endian::Details::type_from_size< size > |
struct | Typelib::Endian::Details::type_from_size< 64 > |
Namespaces | |
namespace | Typelib |
namespace | Typelib::Endian |
namespace | Typelib::Endian::Details |
Functions | |
template<typename S > | |
void | Typelib::Endian::from_big (const S source, S &dest) |
template<typename S > | |
S | Typelib::Endian::from_big (const S source) |
template<typename S > | |
void | Typelib::Endian::from_little (const S source, S &dest) |
template<typename S > | |
S | Typelib::Endian::from_little (const S source) |
template<typename S > | |
void | Typelib::Endian::from_network (const S source, S &dest) |
template<typename S > | |
S | Typelib::Endian::from_network (const S source) |
template<typename S > | |
void | Typelib::Endian::swap (const S data, S &buffer) |
template<typename S > | |
S | Typelib::Endian::swap (const S data) |
template<int size, typename D > | |
void | Typelib::Endian::Details::swap_helper (const D data, D &buffer) |
template<> | |
void | Typelib::Endian::Details::swap_helper< 1, uint8_t > (const uint8_t data, uint8_t &buffer) |
template<> | |
void | Typelib::Endian::Details::swap_helper< 2, uint16_t > (const uint16_t data, uint16_t &buffer) |
template<> | |
void | Typelib::Endian::Details::swap_helper< 4, uint32_t > (const uint32_t data, uint32_t &buffer) |
template<> | |
void | Typelib::Endian::Details::swap_helper< 8, uint64_t > (const uint64_t data, uint64_t &buffer) |
template<typename S > | |
void | Typelib::Endian::to_network (const S source, S &dest) |
template<typename S > | |
S | Typelib::Endian::to_network (const S source) |