Skip to content

Computation of CRC-5/USB for values not aligned to byte boundaries #1

@Nic30

Description

@Nic30

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions