Logo Search packages:      
Sourcecode: zlib version File versions

DotZLib::CRC32Checksum Class Reference

Inheritance diagram for DotZLib::CRC32Checksum:

DotZLib::ChecksumGeneratorBase DotZLib::ChecksumGenerator

List of all members.


Detailed Description

Implements a CRC32 checksum generator.

Definition at line 104 of file ChecksumImpl.cs.


Public Member Functions

 CRC32Checksum (uint initialValue)
 Initializes a new instance of the CRC32 checksum generator with a specified value.
 CRC32Checksum ()
 Initializes a new instance of the CRC32 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 crc32 (uint crc, int data, uint length)

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

Generated by  Doxygen 1.6.0   Back to index