binreader

Crates.iobinreader
lib.rsbinreader
version0.2.1
sourcesrc
created_at2021-06-17 00:48:52.673006
updated_at2021-06-19 01:04:02.165909
descriptionA helper library to make reading binary data more pleasant.
homepagehttps://github.com/russells-crockpot/binreader
repositoryhttps://github.com/russells-crockpot/binreader
max_upload_size
id411084
size40,654
Brendan McGloin (russells-crockpot)

documentation

https://docs.rs/binreader/

README

Helpers to read binary data files in rust

Overview

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.

Feature Flags

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.

Commit count: 17

cargo fmt