18 #ifndef INCLUDED_UHD_UTILS_BYTESWAP_HPP    19 #define INCLUDED_UHD_UTILS_BYTESWAP_HPP    22 #include <boost/cstdint.hpp>    32     boost::uint16_t 
byteswap(boost::uint16_t);
    35     boost::uint32_t 
byteswap(boost::uint32_t);
    38     boost::uint64_t 
byteswap(boost::uint64_t);
    41     template<
typename T> T 
ntohx(T);
    44     template<
typename T> T 
htonx(T);
    50     template<
typename T> T 
wtohx(T);
    56     template<
typename T> T 
htowx(T);
 T htowx(T)
host to worknet: short, long, or long-long 
 
T wtohx(T)
worknet to host: short, long, or long-long 
 
boost::uint16_t byteswap(boost::uint16_t)
perform a byteswap on a 16 bit integer 
Definition: byteswap.ipp:85
 
Definition: convert.hpp:28
 
T htonx(T)
host to network: short, long, or long-long 
 
T ntohx(T)
network to host: short, long, or long-long