crcxx
universal slice-by-4/8/16/32 implementation of CRC-8/16/32/64 algorithms.
Usage
To use crcxx
, add this to your Cargo.toml
:
[]
= "0.2"
default slice-by-16 algorithm is used. You can change to slice-by-4/8/16/32:
= { = "0.2", = false, = ["slice-by-8"] }
Example
use crc16;
License
This project is licensed under the Apache 2.0 license