CrcConfiguration.standard constructor
- CrcStandard standard
Creates a configuration from a cataloged standard.
Implementation
factory CrcConfiguration.standard(CrcStandard standard) => CrcConfiguration(
polynomial: standard.polynomial,
initialValue: BigInt.from(standard.initialValue),
reflectInput: standard.reflectInput,
reflectOutput: standard.reflectOutput,
finalXor: BigInt.from(standard.finalXor),
check: BigInt.from(standard.check),
residue: BigInt.from(standard.residue),
);