|
Fingerprint_Card
|
Interface to compute a data checksum used by checked input/output streams. A data checksum can be updated by one byte or with a byte array. After each update the value of the current checksum can be returned by calling. More...

Public Member Functions | |
| void | Reset () |
| Resets the data checksum as if no update was ever called. | |
| void | Update (int value) |
| Adds one byte to the data checksum. | |
| void | Update (byte[] buffer) |
| Updates the data checksum with the bytes taken from the array. | |
| void | Update (byte[] buffer, int offset, int count) |
| Adds the byte array to the data checksum. | |
Properties | |
| long | Value [get] |
| Returns the data checksum computed so far. | |
Interface to compute a data checksum used by checked input/output streams. A data checksum can be updated by one byte or with a byte array. After each update the value of the current checksum can be returned by calling.
. The complete checksum object can also be reset so it can be used again with new data.
| void ICSharpCode.SharpZipLib.Checksums.IChecksum.Reset | ( | ) |
Resets the data checksum as if no update was ever called.
Implemented in ICSharpCode.SharpZipLib.Checksums.Adler32, ICSharpCode.SharpZipLib.Checksums.Crc32, and ICSharpCode.SharpZipLib.Checksums.StrangeCRC.
| void ICSharpCode.SharpZipLib.Checksums.IChecksum.Update | ( | byte[] | buffer | ) |
Updates the data checksum with the bytes taken from the array.
| buffer | buffer an array of bytes |
Implemented in ICSharpCode.SharpZipLib.Checksums.Adler32, ICSharpCode.SharpZipLib.Checksums.Crc32, and ICSharpCode.SharpZipLib.Checksums.StrangeCRC.
| void ICSharpCode.SharpZipLib.Checksums.IChecksum.Update | ( | byte[] | buffer, |
| int | offset, | ||
| int | count ) |
Adds the byte array to the data checksum.
| buffer | The buffer which contains the data |
| offset | The offset in the buffer where the data starts |
| count | the number of data bytes to add. |
Implemented in ICSharpCode.SharpZipLib.Checksums.Adler32, ICSharpCode.SharpZipLib.Checksums.Crc32, and ICSharpCode.SharpZipLib.Checksums.StrangeCRC.
| void ICSharpCode.SharpZipLib.Checksums.IChecksum.Update | ( | int | value | ) |
Adds one byte to the data checksum.
| value | the data value to add. The high byte of the int is ignored. |
Implemented in ICSharpCode.SharpZipLib.Checksums.Adler32, ICSharpCode.SharpZipLib.Checksums.Crc32, and ICSharpCode.SharpZipLib.Checksums.StrangeCRC.
|
get |
Returns the data checksum computed so far.
Implemented in ICSharpCode.SharpZipLib.Checksums.Adler32, ICSharpCode.SharpZipLib.Checksums.Crc32, and ICSharpCode.SharpZipLib.Checksums.StrangeCRC.