This class implements the CRC-32 checksum algorithm.
The digest returned is a little-endian 4 byte string.
this(Crc32 crc32);
Create a cloned CRC32
this(uint polynomial = -306674912u);
Prepare Crc32 to checksum the data with a given polynomial.
Params:
uint polynomial
The magic CRC number to base calculations on. The
default compatible with ZIP, PNG, ethernet and others. Note: This
default value has poor error correcting properties.
Crc32 update(const(void[]) input);
uint digestSize();
The Crc32 digestSize is 4
ubyte[] binaryDigest(ubyte[] buf = null);
uint crc32Digest();
Returns the Crc32 digest as a uint
Page generated by Ddoc. Copyright (c) 2006 James Pelcis. All rights reserved