#crc #frame #buffer #framed

crc-frame

simple functions for reading and writing crc32'd framed buffers

8 stable releases

Uses new Rust 2021

1.0.7 Sep 14, 2022
1.0.1 Sep 13, 2022

#585 in Rust patterns

26 downloads per month

GPL-3.0 license

17KB
287 lines


lib.rs:

Simple tools for reading and writing crc-checked frames of bytes.

  • Uses crc32fast for a 4-byte crc
  • Uses varint for frame sizing
  • Tested against libfuzzer

The varint module is also public for direct use.

Dependencies

~95KB