![]() |
Crc
|
The Crc16 type exposes the following members.
Name | Description | |
---|---|---|
![]() | Crc16 | Creates a new instance of the Crc16 class. The checksum starts off with a value of 0x0000. |
![]() | Crc16(ChecksumType) | Creates a new instance of the Crc16 class. |
Name | Description | |
---|---|---|
![]() | 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-16 data checksum as if no update was ever called. |
![]() | Reset(ChecksumType) | Resets the CRC-16 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. |
Name | Description | |
---|---|---|
![]() | GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
![]() | GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
2-byte (16-bit) CRC: The generating polynomial is
16 15 2 1
G(X) = X + X + X + X