Method | Description | |
---|---|---|
Verify ( byte value ) : bool |
Verifies the value ends with 4 bytes of a matching checksum.
|
|
WriteSum ( byte buffer ) : void |
Computes the checksum for all but the last 4 bytes of the buffer and writes the sum to the final 4 bytes.
|
Method | Description | |
---|---|---|
Hash ( byte value ) : byte[] |
public static Verify ( byte value ) : bool | ||
value | byte | Byte array containing value to check, followed by 4 bytes of checksum |
return | bool |
public static WriteSum ( byte buffer ) : void | ||
buffer | byte | Buffer containing value to sum, followed by 4 bytes to place checksum |
return | void |