#convert #parser-generator #binary-data #byte #struct #structured-data #raw-bytes

yanked restruct

Converts between raw bytes and structured data

0.1.2 Feb 13, 2022
0.1.1 Oct 26, 2020
0.1.0 Apr 16, 2019

#12 in #raw-bytes


Used in 2 crates

MIT license

37KB
814 lines

restruct is used to interpret binary data stored in files or other sources or convert between C structs and Rust types and when using a parser-generator is considered disproportionate. It is a brainchild of Python's struct-module.

See the restruct_derive-crate for documentation.

Dependencies

~4–9MB
~177K SLoC