CRC16Params constructor
Create a custom polynomial for CRC-16
Parameters:
seed: initial counter to start fromxorOut: the value to xor with the final outputreversed: to use reversed or reflected polynomial and input
Implementation
CRC16Params(
this.poly, {
this.seed = 0,
this.xorOut = 0,
this.reversed = false,
}) : name = poly.toRadixString(16);