How do I reverse the bit order for a 16 bit word? For example, if a number is represented as 0011 1011 1010 1110 then it has to be written to a file with the least significant bit first as 0111 0101 1101 1100. Also I'm devleloping in C.
Thanks,
Jaime Guevara




Reply With Quote