public static void ReverseBits(byte[] b) { for (int k = 0; k < b.Length; ++k) b[k] = flipTable[b[k] & 0xff]; }