C# 클래스 NuGet.Crc32

파일 보기 프로젝트 열기: monoman/NugetCracker 1 사용 예제들

비공개 메소드들

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