프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BuildTable | void |
메소드 | 설명 | |
---|---|---|
CRC32 ( ) : System |
Basic Constructor to generate the standard CRC-32 (used in ethernet packets, Zip files, etc.)
|
|
CRC32 ( |
Basic Constructor except with a different key (divisor) polynomial
|
|
CRC32 ( |
Constructor for custom 32-bit CRC object - Don't use this unless you really know what the heck you are doing.
|
|
CalculateCRC ( Byte Data ) : |
Calculate the CRC-32 checksum on the given array of bytes
|
|
ReflectNum ( |
Method to reflect a specified number of bits in the integer
|
|
this ( int index ) : |
메소드 | 설명 | |
---|---|---|
BuildTable ( ) : void |
Function to generate the table of values used in the CRC-32 calculation
|
public CRC32 ( |
||
KeyPoly | The user-provided key polynomial (hex number of bits[31-0]) | |
리턴 | System |
public CRC32 ( |
||
KeyPoly | Custom key polynomial | |
InitialRegVal | Initial register value | |
FinalizeXorVal | Value that is xor'd with final CRC | |
Reflected | System.Boolean | Indicates whether the algorithm expects reflected input bytes |
BytesShiftedPerCycle | How many bytes are handled at a time (1 or 2). /// The internal table size is determined by this parameter, 1 is most common (leads to 1kbyte table). | |
리턴 | System |
public CalculateCRC ( Byte Data ) : |
||
Data | Byte | Array of bytes of data. |
리턴 |
public ReflectNum ( |
||
inVal | The unsigned integer value input | |
num | The number of lower bits to reflect. | |
리턴 |