Logo Search packages:      
Sourcecode: zlib version File versions

DotZLib::AdlerChecksum Class Reference

Inheritance diagram for DotZLib::AdlerChecksum:

DotZLib::ChecksumGeneratorBase DotZLib::ChecksumGenerator

List of all members.


Detailed Description

Implements a checksum generator that computes the Adler checksum on data.

Definition at line 155 of file ChecksumImpl.cs.


Public Member Functions

 AdlerChecksum (uint initialValue)
 Initializes a new instance of the Adler checksum generator with a specified value.
 AdlerChecksum ()
 Initializes a new instance of the Adler checksum generator.
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.
override 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.

Private Member Functions

static uint adler32 (uint adler, int data, uint length)

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

Generated by  Doxygen 1.6.0   Back to index