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

#2733 in Parser implementations

42 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

~260–720KB
~17K SLoC