Xor8 Class

Calculates byte length (8-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 Xor8
Inheritance
Object    Xor8

Constructors

Xor8 Creates a new instance of the Xor8Bit class. The checksum starts off with a value of 0.

Properties

Value Returns the Xor 8-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 a byte value.
Update(Byte) Updates the checksum with an array of bytes.
Update(Byte, Int32, Int32) Updates the checksum with the bytes taken from the array.

See Also