Util--  1.1
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

◆ swap_helper()

template<int size, typename D >
void utilmm::endian::details::swap_helper ( const D  data,
D &  buffer 
)

◆ swap_helper< 1, uint8_t >()

template<>
void utilmm::endian::details::swap_helper< 1, uint8_t > ( const uint8_t  data,
uint8_t &  buffer 
)
inline

◆ swap_helper< 2, uint16_t >()

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

◆ swap_helper< 4, uint32_t >()

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

◆ swap_helper< 8, uint64_t >()

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

Generated on Mon Sep 24 2018 17:06:40 for Util-- by doxygen 1.8.13
SourceForge.net Project Page