$search

utilmm::endian::details Namespace Reference

Classes

struct  type_from_size
struct  type_from_size< 64 >

Functions

template<int size, typename D >
void swap_helper (const D data, D &buffer)
template<>
void swap_helper< 1, uint8_t > (const uint8_t data, uint8_t &buffer)
template<>
void swap_helper< 2, uint16_t > (const uint16_t data, uint16_t &buffer)
template<>
void swap_helper< 4, uint32_t > (const uint32_t data, uint32_t &buffer)
template<>
void swap_helper< 8, uint64_t > (const uint64_t data, uint64_t &buffer)

Function Documentation

template<int size, typename D >
void utilmm::endian::details::swap_helper ( const D  data,
D &  buffer 
) [inline]
template<>
void utilmm::endian::details::swap_helper< 1, uint8_t > ( const uint8_t  data,
uint8_t &  buffer 
) [inline]
template<>
void utilmm::endian::details::swap_helper< 2, uint16_t > ( const uint16_t  data,
uint16_t &  buffer 
) [inline]
template<>
void utilmm::endian::details::swap_helper< 4, uint32_t > ( const uint32_t  data,
uint32_t &  buffer 
) [inline]
template<>
void utilmm::endian::details::swap_helper< 8, uint64_t > ( const uint64_t  data,
uint64_t &  buffer 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Fri Mar 1 16:28:52 2013