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

#18 in #byte-parser

Download history

77 downloads per month
Used in 2 crates

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.

Dependencies

~135–520KB
~12K SLoC