C# Class Brunet.Util.Crc32

显示文件 Open project: pstjuste/brunet

Protected Properties

Property Type Description
TABLE uint[]
_cast Crc32
_ethernet Crc32

Public Methods

Method Description
Compute ( uint initcrc, byte bytes, int offset, int length ) : uint
ComputeChecksum ( byte bytes, int offset, int length ) : uint
ComputeChecksum ( uint initcrc, byte bytes, int offset, int length ) : uint
ComputeChecksumBytes ( byte bytes, int offset, int length ) : byte[]
Crc32 ( uint poly ) : NUnit.Framework
MakeTable ( uint poly ) : uint[]

Method Details

Compute() public method

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

ComputeChecksum() public static method

public static ComputeChecksum ( byte bytes, int offset, int length ) : uint
bytes byte
offset int
length int
return uint

ComputeChecksum() public static method

public static ComputeChecksum ( uint initcrc, byte bytes, int offset, int length ) : uint
initcrc uint
bytes byte
offset int
length int
return uint

ComputeChecksumBytes() public static method

public static ComputeChecksumBytes ( byte bytes, int offset, int length ) : byte[]
bytes byte
offset int
length int
return byte[]

Crc32() public method

public Crc32 ( uint poly ) : NUnit.Framework
poly uint
return NUnit.Framework

MakeTable() public static method

public static MakeTable ( uint poly ) : uint[]
poly uint
return uint[]

Property Details

TABLE protected_oe property

protected uint[] TABLE
return uint[]

_cast protected_oe static_oe property

protected static Crc32,Brunet.Util _cast
return Crc32

_ethernet protected_oe static_oe property

protected static Crc32,Brunet.Util _ethernet
return Crc32