Logo Search packages:      
Sourcecode: zlib version File versions

DotZLib::ChecksumGeneratorBase Class Reference

Inheritance diagram for DotZLib::ChecksumGeneratorBase:

DotZLib::ChecksumGenerator DotZLib::AdlerChecksum DotZLib::CRC32Checksum

List of all members.


Detailed Description

Implements the common functionality needed for all ChecksumGenerators.

Definition at line 20 of file ChecksumImpl.cs.


Public Member Functions

 ChecksumGeneratorBase (uint initialValue)
 Initializes a new instance of the checksum generator basewith a specified value.
 ChecksumGeneratorBase ()
 Initializes a new instance of the checksum generator base - the current checksum is set to zero.
void Reset ()
 Resets the current checksum to zero.
void Update (string data, Encoding encoding)
 Updates the current checksum with the data from a string, using a specific encoding.
void Update (string data)
 Updates the current checksum with the data from a string.
void Update (byte[] data)
 Updates the current checksum with an array of bytes.
abstract void Update (byte[] data, int offset, int count)
 Updates the current checksum with part of an array of bytes.

Protected Attributes

uint _current
 The value of the current checksum.

Properties

uint Value [get]
 Gets the current checksum value.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index