Skip to main content

shift_table

Function shift_table 

Source
pub(crate) const fn shift_table(len: u64) -> [[u32; 256]; 4]
Expand description

Builds tables that append len zero bytes to a CRC state a byte at a time: the new state is the XOR of table[k][(state >> (8 * k)) & 0xFF] for k in 0..4.