Click or drag to resize

Xor16 Class

Calculates word length (16-bit) XOR-based check-sum on specified portion of a buffer.
Inheritance Hierarchy
SystemObject
  GSF.IO.ChecksumsXor16

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

The Xor16 type exposes the following members.

Constructors
 NameDescription
Public methodXor16 Creates a new instance of the Xor16Bit class. The checksum starts off with a value of 0.
Top
Properties
 NameDescription
Public propertyValue Returns the Xor 16-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 an array of bytes.
Public methodUpdate(UInt16) Updates the checksum with a ushort value.
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