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