C# Класс ZForge.Zip.CRC32

Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial used by Zip. This type ie generally not used directly by applications wishing to create, read, or manipulate zip archive files.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CRC32 ( ) : System

Construct an instance of the CRC32 class, pre-initialising the table for speed of lookup.

GetCrc32 ( System input ) : UInt32

Returns the CRC32 for the specified stream.

GetCrc32AndCopy ( System input, System output ) : UInt32

Returns the CRC32 for the specified stream, and writes the input into the output stream.

Описание методов

CRC32() публичный Метод

Construct an instance of the CRC32 class, pre-initialising the table for speed of lookup.
public CRC32 ( ) : System
Результат System

GetCrc32() публичный Метод

Returns the CRC32 for the specified stream.
public GetCrc32 ( System input ) : UInt32
input System The stream over which to calculate the CRC32
Результат System.UInt32

GetCrc32AndCopy() публичный Метод

Returns the CRC32 for the specified stream, and writes the input into the output stream.
public GetCrc32AndCopy ( System input, System output ) : UInt32
input System The stream over which to calculate the CRC32
output System The stream into which to deflate the input
Результат System.UInt32