tpircher-zz / pycrc

Free, easy to use Cyclic Redundancy Check (CRC) calculator and source code generator
https://pycrc.org
MIT License
169 stars 36 forks source link

Enable using messages with non-integer number of bytes #43

Open me21 opened 3 years ago

me21 commented 3 years ago

The generated function crc_update has a parameter data_len which sets the number of data bytes. Sometimes there are algorithms (e.g.: https://datasheets.maximintegrated.com/en/ds/MAX14917.pdf) which use nonstandard messages, for example, 11 bits. It would be nice if pycrc supported these algorithms.