5 unstable releases

0.3.1 Dec 20, 2023
0.3.0 Dec 19, 2023
0.2.1 Dec 19, 2023
0.1.1 Oct 6, 2023
0.1.0 Sep 26, 2023

#2067 in Parser implementations

Download history 9/week @ 2023-12-18 11/week @ 2024-02-19 22/week @ 2024-02-26 6/week @ 2024-03-04 17/week @ 2024-03-11 2/week @ 2024-03-18 107/week @ 2024-04-01

128 downloads per month
Used in falcom-sjis

MIT/Apache

30KB
698 lines

Gospel

A crate for incremental reading and writing of binary files.

In addition to convenient zero-copy reading, the gospel::read module supports seeking, forking, and testing for testing for magic numbers. It also comes with the separate gospel-dump crate for writing hex dumps, which is useful when analyzing an unknown format.

The gospel::write module supports the dual of seeking, namely delayed writes with labels.


lib.rs:

A crate for incremental reading and writing of binary files.

In addition to convenient zero-copy reading, the gospel::read module supports seeking, forking, and testing for testing for magic numbers. It also comes with the separate gospel-dump crate for writing hex dumps, which is useful when analyzing an unknown format.

The gospel::write module supports the dual of seeking, namely delayed writes with labels.

Dependencies

~0.3–0.8MB
~19K SLoC