8 #ifndef INCLUDED_UHD_UTILS_BYTESWAP_HPP 9 #define INCLUDED_UHD_UTILS_BYTESWAP_HPP 31 template<
typename T> T
ntohx(T);
34 template<
typename T> T
htonx(T);
40 template<
typename T> T
wtohx(T);
46 template<
typename T> T
htowx(T);
T htowx(T)
host to worknet: short, long, or long-long
Definition: byteswap.ipp:120
T wtohx(T)
worknet to host: short, long, or long-long
Definition: byteswap.ipp:112
uint16_t byteswap(uint16_t)
perform a byteswap on a 16 bit integer
Definition: byteswap.ipp:75
Definition: build_info.hpp:14
T htonx(T)
host to network: short, long, or long-long
Definition: byteswap.ipp:104
T ntohx(T)
network to host: short, long, or long-long
Definition: byteswap.ipp:96