C# Class NuGet.Crc32

Exibir arquivo Open project: monoman/NugetCracker Class Usage Examples

Private Methods

Method Description
Calculate ( Stream stream ) : uint
Calculate ( byte buffer ) : uint

Calculate the CRC (Cyclic Redundancy Check) for a buffer of bytes See RFC1952 for details.

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

Calculate the CRC (Cyclic Redundancy Check) for a range of bytes. See RFC1952 for details.

Calculate ( string content ) : uint
Calculate ( string content, Encoding encoding ) : uint
Calculate ( uint crc32, byte buffer, int offset, int length ) : uint

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