C# 클래스 Hpdi.HashLib.Crc16

16-bit CRC hash function.
상속: Hash16
파일 보기 프로젝트 열기: abevoelker/vss2git 1 사용 예제들

공개 메소드들

메소드 설명
Compute ( byte bytes ) : ushort
Compute ( byte bytes, int offset, int limit ) : ushort
Crc16 ( ushort poly, bool reverse )
Crc16 ( ushort poly, bool reverse, ushort initial, ushort final )

보호된 메소드들

메소드 설명
GenerateTable ( ushort poly, bool reverse ) : ushort[]

메소드 상세

Compute() 공개 메소드

public Compute ( byte bytes ) : ushort
bytes byte
리턴 ushort

Compute() 공개 메소드

public Compute ( byte bytes, int offset, int limit ) : ushort
bytes byte
offset int
limit int
리턴 ushort

Crc16() 공개 메소드

public Crc16 ( ushort poly, bool reverse )
poly ushort
reverse bool

Crc16() 공개 메소드

public Crc16 ( ushort poly, bool reverse, ushort initial, ushort final )
poly ushort
reverse bool
initial ushort
final ushort

GenerateTable() 보호된 정적인 메소드

protected static GenerateTable ( ushort poly, bool reverse ) : ushort[]
poly ushort
reverse bool
리턴 ushort[]