[erlang-questions] Bit reversing

Eranga Udesh casper2000a@REDACTED
Wed Aug 22 14:44:54 CEST 2007


Hi,

Is there a straight forward and efficient method to reverse the bits in a
whole binary? For eg.

<<bit 1 .... bit n>>
After reversing,
<<bit n .... bit 1>>

Thanks,
- Eranga





More information about the erlang-questions mailing list