I\'ve come up with several manual ways of doing this, but i keep wondering if there is something built-in .NET that does this.
Basically, i want to reverse the bit o
Using @Chads link
byte b; b = 0x9D; b = (byte)((b * 0x0202020202 & 0x010884422010) % 1023);
Edit: Forgot the cast