30 unsigned int reverse = val;
31 unsigned int shift =
sizeof(
unsigned int)*CHAR_BIT-1;
33 for (val >>= 1; val; val >>= 1) {
44 unsigned short reverse = val;
45 unsigned short shift =
sizeof(
unsigned short)*CHAR_BIT-1;
47 for (val >>= 1; val; val >>= 1) {
58 unsigned char reverse = val;
59 unsigned char shift =
sizeof(
unsigned char)*CHAR_BIT-1;
61 for (val >>= 1; val; val >>= 1) {
static unsigned short revertShort(unsigned short val)
static unsigned int revertInt(unsigned int val)
static unsigned char revertByte(unsigned char val)