Computes an Adler-32 checksum.
The Adler checksum is similar to a CRC checksum, but faster to compute, though less reliable. It is used in producing RFC1950 compressed streams. The Adler checksum is a required part of the "ZLIB" standard. Applications will almost never need to use this class directly.
<exclude>
Static Public Member Functions | |
static uint | Adler32 (uint adler, byte[] buf, int index, int len) |
Calculates the Adler32 checksum. More... | |
Static Private Attributes | |
static readonly uint | BASE = 65521 |
static readonly int | NMAX = 5552 |
|
inlinestatic |
Calculates the Adler32 checksum.
This is used within ZLIB. You probably don't need to use this directly.
To compute an Adler32 checksum on a byte array:
|
staticprivate |
|
staticprivate |