Rizin
unix-like reverse engineering framework and cli tools
|
Declares methods and properties that enables a running checksum to be calculated More...
Public Member Functions | |
void | Reset () |
Clears the current checksum to 0 More... | |
void | Update (byte[] data) |
Updates the current checksum with an array of bytes More... | |
void | Update (byte[] data, int offset, int count) |
Updates the current checksum with part of an array of bytes More... | |
void | Update (string data) |
Updates the current checksum with the data from a string More... | |
void | Update (string data, Encoding encoding) |
Updates the current checksum with the data from a string, using a specific encoding More... | |
Properties | |
uint | Value [get] |
Gets the current value of the checksum More... | |
Declares methods and properties that enables a running checksum to be calculated
Definition at line 114 of file DotZLib.cs.
void DotZLib.ChecksumGenerator.Reset | ( | ) |
Clears the current checksum to 0
Implemented in DotZLib.ChecksumGeneratorBase.
void DotZLib.ChecksumGenerator.Update | ( | byte[] | data | ) |
Updates the current checksum with an array of bytes
data | The data to update the checksum with |
Implemented in DotZLib.ChecksumGeneratorBase.
Updates the current checksum with part of an array of bytes
data | The data to update the checksum with |
offset | Where in data to start updating |
count | The number of bytes from data to use |
ArgumentException | The sum of offset and count is larger than the length of data |
ArgumentNullException | data is a null reference |
ArgumentOutOfRangeException | Offset or count is negative. |
Implemented in DotZLib.AdlerChecksum, DotZLib.CRC32Checksum, and DotZLib.ChecksumGeneratorBase.
void DotZLib.ChecksumGenerator.Update | ( | string | data | ) |
Updates the current checksum with the data from a string
data | The string to update the checksum with |
The characters in the string are converted by the UTF-8 encoding
Implemented in DotZLib.ChecksumGeneratorBase.
void DotZLib.ChecksumGenerator.Update | ( | string | data, |
Encoding | encoding | ||
) |
Updates the current checksum with the data from a string, using a specific encoding
data | The string to update the checksum with |
encoding | The encoding to use |
Implemented in DotZLib.ChecksumGeneratorBase.
|
get |