Exemplo n.º 1
0
 public static void ReverseBitEndian(byte[] bytes)
 {
     System.Collections.BitArray bits = new System.Collections.BitArray(bytes);
     BUtil.ReverseBitEndian(bits);
     bits.CopyTo(bytes, 0);
 }
Exemplo n.º 2
0
 public static void ReverseBitEndian(System.Collections.BitArray bits)
 {
     BUtil.ReverseBitEndian(bits, 0, bits.Count - 1);
 }