Classes | Functions
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 
)
template<>
void utilmm::endian::details::swap_helper< 1, uint8_t > ( const uint8_t  data,
uint8_t &  buffer 
) [inline]

Definition at line 24 of file endian.hh.

template<>
void utilmm::endian::details::swap_helper< 2, uint16_t > ( const uint16_t  data,
uint16_t &  buffer 
) [inline]

Definition at line 26 of file endian.hh.

template<>
void utilmm::endian::details::swap_helper< 4, uint32_t > ( const uint32_t  data,
uint32_t &  buffer 
) [inline]

Definition at line 28 of file endian.hh.

template<>
void utilmm::endian::details::swap_helper< 8, uint64_t > ( const uint64_t  data,
uint64_t &  buffer 
) [inline]

Definition at line 30 of file endian.hh.



utilmm
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Oct 6 2014 03:17:02