Crc32C.NET
Implementation of CRC-32C (Castagnoli) with polynomial 0x1EDC6F41.
It can detect errors more reliably than the older CRC-32-IEEE.
This class will use CRC32 instruction on recent Intel processors if it is available.
Otherwise it will transparently fall back to a very fast software implementation.
Besides standard HashAlgorithm methods,
this class supports several convenient static methods returning the CRC as UInt32.
Creates new instance of Crc32CAlgorithm.
Computes CRC-32C from multiple buffers.
Call this method multiple times to chain multiple buffers.
Initial CRC value for the algorithm. It is zero for the first buffer.
Subsequent buffers should have their initial value set to CRC value returned by previous call to this method.
Input buffer with data to be checksummed.
Offset of the input data within the buffer.
Length of the input data in the buffer.
Accumulated CRC-32C of all buffers processed so far.
Computes CRC-32C from multiple buffers.
Call this method multiple times to chain multiple buffers.
Initial CRC value for the algorithm. It is zero for the first buffer.
Subsequent buffers should have their initial value set to CRC value returned by previous call to this method.
Input buffer containing data to be checksummed.
Accumulated CRC-32C of all buffers processed so far.
Computes CRC-32C from input buffer.
Input buffer with data to be checksummed.
Offset of the input data within the buffer.
Length of the input data in the buffer.
CRC-32C of the data in the buffer.
Computes CRC-32C from input buffer.
Input buffer containing data to be checksummed.
CRC-32C of the buffer.
Resets internal state of the algorithm. Used internally.