Helpers to read binary data files in rust
The binreader crate is designed to make reading binary data easier. It is not meant to replace other wonderful crates like bytes, nom or binread, but instead is meant to work with them as a single, common interface between.
This is primarily done via the [BinReader
] trait, as well as a variety of different
implementations of it useful for a variety of purposes.
As of right now, BinReader only has two feature flags:
nom-support
which allows nom to parse from BinReaders.memmap
which supports platform-independent memory mapped files (via the memmap2 crate).
NOTE: This is still a WIP.