Method | Description | |
---|---|---|
Reset ( ) : void |
Resets the checksum to the initial value.
|
|
Update ( byte buffer ) : void |
Updates the checksum with an array of bytes.
|
|
Update ( byte buffer, int offset, int count ) : void |
Updates the checksum with the bytes taken from the array.
|
|
Update ( ushort value ) : void |
Updates the checksum with a ushort value.
|
|
Xor16 ( ) : System |
Creates a new instance of the Xor16Bit class. The checksum starts off with a value of 0.
|
public Update ( byte buffer ) : void | ||
buffer | byte | /// The source of the data to update with. /// |
return | void |
public Update ( byte buffer, int offset, int count ) : void | ||
buffer | byte | /// an array of bytes /// |
offset | int | /// the start of the data used for this update /// |
count | int | /// the number of bytes to use for this update /// |
return | void |
public Update ( ushort value ) : void | ||
value | ushort | The |
return | void |