The following tables list the members exposed by the BitUtil type.

Name Description
Public method Static FromByteArray(byte[], int, int, int) Interprets a byte array as MSB first (leftmost bit) and then allows extraction, of a int (32 bit) value by byte offset, bit offset and number of bits COUNTING BITS FROM LSB to MSB i.e. right to left.
Public method Static LongFromByteArray(byte[], int, int, int) Interprets a byte array as MSB first (leftmost bit) and allows extraction, of a long (64 bit) value by byte offset, bit offset and number of bits COUNTING BITS FROM LSB to MSB i.e. right to left.
Public method Static ReverseBitOrder(byte) Reverses the bit order within a byte.
Public method Static ShiftBit(byte[]) Rolls a byte array by one bit.
Public method Static ShiftBits(ref byte[], int) Shifts a byte array by numberOfBitsShifted. Currently only rightShifts are supported.
Top