C# Class Hpdi.HashLib.Crc32

32-bit CRC hash function.
Inheritance: Hash32
ファイルを表示 Open project: abevoelker/vss2git Class Usage Examples

Public Methods

Method Description
Compute ( byte bytes ) : uint
Compute ( byte bytes, int offset, int limit ) : uint
Crc32 ( uint poly )
Crc32 ( uint poly, uint initial, uint final )

Protected Methods

Method Description
GenerateTable ( uint poly ) : uint[]

Method Details

Compute() public method

public Compute ( byte bytes ) : uint
bytes byte
return uint

Compute() public method

public Compute ( byte bytes, int offset, int limit ) : uint
bytes byte
offset int
limit int
return uint

Crc32() public method

public Crc32 ( uint poly )
poly uint

Crc32() public method

public Crc32 ( uint poly, uint initial, uint final )
poly uint
initial uint
final uint

GenerateTable() protected static method

protected static GenerateTable ( uint poly ) : uint[]
poly uint
return uint[]