C# 클래스 newtelligence.DasBlog.Util.Zip.CRC32

Calculates a 32bit Cyclic Redundancy Checksum (CRC) using the same polynomial used by Zip.
파일 보기 프로젝트 열기: AArnott/dasblog 1 사용 예제들

공개 메소드들

메소드 설명
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