foobar2000 SDK  2015-08-03
Functions
byte_order Namespace Reference

Functions

template<typename T >
void order_be_to_native_t (T &param)
 
template<typename T >
void order_le_to_native_t (T &param)
 
template<typename T >
void order_native_to_be_t (T &param)
 
template<typename T >
void order_native_to_le_t (T &param)
 

Function Documentation

template<typename T >
void byte_order::order_be_to_native_t ( T param)
inline

Definition at line 129 of file byte_order_helper.h.

129 {}
template<typename T >
void byte_order::order_le_to_native_t ( T param)
inline

Definition at line 128 of file byte_order_helper.h.

128 {param = pfc::byteswap_t(param);}
T byteswap_t(T p_source)
template<typename T >
void byte_order::order_native_to_be_t ( T param)
inline

Definition at line 127 of file byte_order_helper.h.

127 {}
template<typename T >
void byte_order::order_native_to_le_t ( T param)
inline

Definition at line 126 of file byte_order_helper.h.

126 {param = pfc::byteswap_t(param);}
T byteswap_t(T p_source)