|
|
Telescience Resource Kit
TReK Python
5.4.0 ART
|
Checksum Polynomial attributes. More...
Public Member Functions | |
| def | ChecksumPolynomialInfo ( int polynomial=0x04C11DB7, int init_value=0xFFFFFFFF, int final_xor_value=0xFFFFFFFF, bool reflect_input=True, bool reflect_result=True -> None ) -> def |
| Class initializer. More... | |
Public Attributes | |
| polynomial | |
| The polynomial to use for the CRC calculation. More... | |
| init_value | |
| The initial value to use for the CRC calculation. More... | |
| final_xor_value | |
| The final value to perform the exclusive or on the checksum. More... | |
| reflect_input | |
| Reflect the input (swap bit order). More... | |
| reflect_result | |
| Reflect the output (swap bit order). More... | |
Static Public Attributes | |
| int | |
| bool | |
Checksum Polynomial attributes.
| ( | polynomial | : int | |
| init_value | : int | ||
| final_xor_value | : int | ||
| reflect_input | : bool | ||
| reflect_result | : bool | ||
| ) | -> None |
Class initializer.
| [in] | polynomial | The polynomial to use for the CRC calculation. Typically written as 0x12345678. Only used if type is CT_GENERIC_CRC32. |
| [in] | init_value | The initial value to use for the CRC calculation. Typically 0 or 0xffffffff. Only used if type is CT_GENERIC_CRC32. |
| [in] | final_xor_value | The final value to perform the exclusive or on the checksum. Typically 0 or 0xffffffff. Only used if type is CT_GENERIC_CRC32. |
| [in] | reflect_input | Reflect the input (swap bit order). Only used if type is CT_GENERIC_CRC32. |
| [in] | reflect_result | Reflect the output (swap bit order). Only used if type is CT_GENERIC_CRC32. |
The final value to perform the exclusive or on the checksum.
Typically 0 or 0xffffffff. Only used if type is CT_GENERIC_CRC32.
The initial value to use for the CRC calculation.
Typically 0 or 0xffffffff. Only used if type is CT_GENERIC_CRC32.
The polynomial to use for the CRC calculation.
Typically written as 0x12345678. Only used if type is CT_GENERIC_CRC32.
Reflect the input (swap bit order).
Only used if type is CT_GENERIC_CRC32.
Reflect the output (swap bit order).
Only used if type is CT_GENERIC_CRC32.