Function accumulate
Source pub const fn accumulate(crc: u16, data: &[u8]) -> u16
Expand description
Folds more bytes into a running CRC-16/MCRF4XX.
§Arguments
crc - the running value; start a fresh checksum from 0xFFFF.
data - the bytes to fold in.
§Returns
The updated CRC.