Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Implements a checksum generator that computes the Adler checksum on data More...
Public Member Functions | |
AdlerChecksum () | |
Initializes a new instance of the Adler checksum generator More... | |
AdlerChecksum (uint initialValue) | |
Initializes a new instance of the Adler checksum generator with a specified value More... | |
override void | Update (byte[] data, int offset, int count) |
Updates the current checksum with part of an array of bytes More... | |
Public Member Functions inherited from DotZLib.ChecksumGeneratorBase | |
ChecksumGeneratorBase () | |
Initializes a new instance of the checksum generator base - the current checksum is set to zero More... | |
ChecksumGeneratorBase (uint initialValue) | |
Initializes a new instance of the checksum generator basewith a specified value More... | |
void | Reset () |
Resets the current checksum to zero More... | |
void | Update (byte[] data) |
Updates the current checksum with 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... | |
Additional Inherited Members | |
Protected Attributes inherited from DotZLib.ChecksumGeneratorBase | |
uint | _current |
The value of the current checksum More... | |
Properties inherited from DotZLib.ChecksumGeneratorBase | |
uint | Value [get] |
Gets the current checksum value More... | |
Properties inherited from DotZLib.ChecksumGenerator | |
uint | Value [get] |
Gets the current value of the checksum More... | |
Implements a checksum generator that computes the Adler checksum on data
Definition at line 155 of file ChecksumImpl.cs.
|
inline |
Initializes a new instance of the Adler checksum generator
Definition at line 167 of file ChecksumImpl.cs.
|
inline |
Initializes a new instance of the Adler checksum generator with a specified value
initialValue | The value to set the current checksum to |
Definition at line 173 of file ChecksumImpl.cs.
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 |
NullReferenceException | data is a null reference |
ArgumentOutOfRangeException | Offset or count is negative. |
Implements DotZLib.ChecksumGeneratorBase.
Definition at line 184 of file ChecksumImpl.cs.
References DotZLib.ChecksumGeneratorBase._current, and adler32().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:45:02.
© Copyright Michele Bosi. All rights reserved.