Gemstone IO Library
Show/Hide TOC

# CrcCCITT Class

Generates a 16-bit CRC-CCITT checksum.

## Definition

Namespace: Gemstone.IO.Checksums
Assembly: Gemstone.IO (in Gemstone.IO.dll) Version: 1.0.160 -- Release Build+169caca5192ac5075949df0220a553c99300004a
C#
View Source Request Example

    public sealed class CrcCCITT

VB
View Source Request Example

    Public NotInheritable Class CrcCCITT

C++
View Source Request Example

    public ref class CrcCCITT sealed

JavaScript
View Source Request Example

    Gemstone.IO.Checksums.CrcCCITT = function();

    Type.createClass(
    	'Gemstone.IO.Checksums.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

Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
Reset | Resets the CRC-CCITT data checksum as if no update was ever called.
ToString | Returns 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

#### Reference

Gemstone.IO.Checksums Namespace