NBit Bit Manipulation Library

Crc Members

Crc overview

Public Static (Shared) Properties

Crc14Kangaroo The CRC for the Kangaroo motion controller.
Crc15Can The CRC for CAN.
Crc16 The Modbus CRC, initialized with all zeros.
Crc16Ccitt The CCITT CRC, initialized with all ones.
Crc16Modbus The CRC for the Modbus PLC protocol.
Crc16XModem The CCITT CRC, initialized with all zeros.
Crc32 Ordinary CRC-32.
Crc32Castagnoli CRC-32C, used in SSE4.
Crc5Usb The CRC for USB token packets.
Crc8OneWire The CRC for the 1-Wire protocol.
Parity Simple parity (odd or even bit count).

Public Static (Shared) Methods

CustomOverloaded. Creates a custom CRC calculator.

Public Instance Methods

Begin Returns the initial value of the CRC. Begin the computation using this value.
ComputeOverloaded. Computes a CRC from a byte array.
End Finishes the CRC computation. An exclusive OR is done between the current CRC value and the post-invert bit mask.
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
NextOverloaded. Sends 8 bits through the CRC.
Resume Undoes the End operation. An exclusive OR is done between the final CRC value and the post-invert bit mask.
ToString (inherited from Object)

Protected Instance Methods

Finalize (inherited from Object)
MemberwiseClone (inherited from Object)

See Also

Crc Class | NBit Namespace