Initializes a new instance of the CRCParamters class.

Namespace:  Classless.Hasher
Assembly:  Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599

Syntax

C#
public CrcParameters(
	int order,
	long polynomial,
	long initial,
	long finalXor,
	bool reflectIn
)
Visual Basic (Declaration)
Public Sub New ( _
	order As Integer, _
	polynomial As Long, _
	initial As Long, _
	finalXor As Long, _
	reflectIn As Boolean _
)
Visual C++
public:
CrcParameters(
	int order, 
	long long polynomial, 
	long long initial, 
	long long finalXor, 
	bool reflectIn
)

Parameters

order
Type: System..::.Int32
The order of the CRC (e.g., how many bits).
polynomial
Type: System..::.Int64
The polynomial to use in the calculations.
initial
Type: System..::.Int64
The initial value of the CRC.
finalXor
Type: System..::.Int64
The final value to XOR with the CRC.
reflectIn
Type: System..::.Boolean
Whether or not to reflect the incoming data before calculating.

See Also