CrcCCITT Class

Generates a 16-bit CRC-CCITT checksum.

Definition

Namespace: Gemstone.IO.Checksums
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.128 -- Release Build+2960d3f3619fdc53cad514a51817286dcfb19027
public sealed class CrcCCITT
Inheritance
Object    CrcCCITT

Remarks

This is a table based 16-bit CRC popular for modem protocols defined for use by the Consultative Committee on International Telegraphy and Telephony (CCITT)

Constructors

CrcCCITT Creates a new instance of the CrcCCITT class. The checksum starts off with a value of 0xFFFF.

Properties

Value Returns the CRCCCITT data checksum computed so far.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Reset Resets the CRC-CCITT data checksum as if no update was ever called.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update(Byte) Updates the checksum with the byte value.
Update(Byte) Updates the checksum with the bytes taken from the array.
Update(Byte, Int32, Int32) Adds the byte array to the data checksum.

See Also