Method | Description | |
---|---|---|
CRCParameters ( int order, long polynomial, long initial, long finalXOR, bool reflectIn ) : System |
Initializes a new instance of the CRCParamters class.
|
|
GetHashCode ( ) : int |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
|
|
GetParameters ( CRCStandard standard ) : |
Retrieves a standard set of CRC parameters.
|
public CRCParameters ( int order, long polynomial, long initial, long finalXOR, bool reflectIn ) : System | ||
order | int | The order of the CRC (e.g., how many bits). |
polynomial | long | The polynomial to use in the calculations. |
initial | long | The initial value of the CRC. |
finalXOR | long | The final value to XOR with the CRC. |
reflectIn | bool | Whether or not to reflect the incoming data before calculating. |
return | System |
public static GetParameters ( CRCStandard standard ) : |
||
standard | CRCStandard | The name of the standard parameter set to retrieve. |
return |