crc_all
crc_all copied to clipboard
Computation of CRC-5/USB for values not aligned to byte boundaries
It is common to compute the CRC-5/USB for 15bits.
I do see only the API which uses whole bytes https://github.com/nanpuyue/crc/blob/master/src/lib.rs#L64 or the API with bits which does not support reflections https://github.com/nanpuyue/crc/blob/master/src/lib.rs#L98 .
Is there some trick to compute crc values also with reflection?