Xor16 Class

Calculates word length (16-bit) XOR-based check-sum on specified portion of a buffer.

Definition

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

Constructors

Xor16 Creates a new instance of the Xor16Bit class. The checksum starts off with a value of 0.

Properties

Value Returns the Xor 16-bit 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 checksum to the initial value.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update(Byte) Updates the checksum with an array of bytes.
Update(UInt16) Updates the checksum with a ushort value.
Update(Byte, Int32, Int32) Updates the checksum with the bytes taken from the array.

See Also