C# Class System.IO.Compression.Crc32

Crc32 implementation.
显示文件 Open project: garyjohnson/wpnest Class Usage Examples

Private Methods

Method Description
Calculate ( byte buffer ) : uint

Caclulate the CRC (Cyclic Reduncancy Check) for a buffer of bytes See RFC1952 for details.

Calculate ( byte buffer, int offset, int length ) : uint

Caclulate the CRC (Cyclic Reduncancy Check) for a range of bytes. See RFC1952 for details.

Calculate ( uint crc32, byte buffer, int offset, int length ) : uint

Caclulate the CRC (Cyclic Reduncancy Check) for a range of bytes See RFC1952 for details. CRCs can be computed in chunks, where you take the CRC of the preceeding block of data and use this as the 'crc32' to compute the next chunk.