24 #define REVERSE_BYTE_ORDER_16( y ) ( ( ( y & 0x00FF ) << 8 ) | ( ( y & 0xFF00 ) >> 8 ) ) 30 #define REVERSE_BYTE_ORDER_32( y ) ( ( ( y & 0x000000FF ) << 24 ) | ( ( y & 0x0000FF00 ) << 8 ) | ( ( y & 0x00FF0000 ) >> 8 ) | ( ( y & 0xFF000000 ) >> 24 ) ) 35 #ifndef WORDS_BIGENDIAN 77 #else // The host has a big-endian architecture #define REVERSE_BYTE_ORDER_16(y)
Reverses the byte order of the given 16 bit unsigned integer.
#define REVERSE_BYTE_ORDER_32(y)
Reverses the byte order of the given 32 bit unsigned integer.