pub trait Hasher16 { fn reset(&mut self); fn write(&mut self, bytes: &[u8]); fn sum16(&self) -> u16; }
Resets CRC calculation to initial value
initial
Updates CRC calculation with input byte array bytes
bytes
Returns checksum after being XOR’d with final_xor
final_xor