Click or drag to resize

Xor8 Class

Calculates byte length (8-bit) XOR-based check-sum on specified portion of a buffer.
Inheritance Hierarchy
SystemObject
  GSF.IO.ChecksumsXor8

Namespace: GSF.IO.Checksums
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public sealed class Xor8
View Source

The Xor8 type exposes the following members.

Constructors
 NameDescription
Public methodXor8 Creates a new instance of the Xor8Bit class. The checksum starts off with a value of 0.
Top
Properties
 NameDescription
Public propertyValue Returns the Xor 8-bit checksum computed so far.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReset Resets the checksum to the initial value.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate(Byte) Updates the checksum with a byte value.
Public methodUpdate(Byte) Updates the checksum with an array of bytes.
Public methodUpdate(Byte, Int32, Int32) Updates the checksum with the bytes taken from the array.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also