7 #ifndef INCLUDED_UHD_UTILS_BYTESWAP_HPP 8 #define INCLUDED_UHD_UTILS_BYTESWAP_HPP 30 template<
typename T> T
ntohx(T);
33 template<
typename T> T
htonx(T);
39 template<
typename T> T
wtohx(T);
45 template<
typename T> T
htowx(T);
T htowx(T)
host to worknet: short, long, or long-long
Definition: byteswap.ipp:119
T wtohx(T)
worknet to host: short, long, or long-long
Definition: byteswap.ipp:111
uint16_t byteswap(uint16_t)
perform a byteswap on a 16 bit integer
Definition: byteswap.ipp:74
Definition: build_info.hpp:14
T htonx(T)
host to network: short, long, or long-long
Definition: byteswap.ipp:103
T ntohx(T)
network to host: short, long, or long-long
Definition: byteswap.ipp:95