bin_io
bin_io
is a crate inspired greatly by nom
and
other parser combinator libraries.
But bin_io
differs from those crates since
it aims at providing both reading and writing
facilities at the same time, with fewer code.
Usage
Add bin_io = "0.1"
to your Cargo.toml
Example
use Cursor;
use ;
use ;
#
boilerplate!;
let mut vec = Vec new;
let mut cursor = new;
let my_thing = Thing ;
write
.unwrap;
cursor.set_position;
let other_thing = read
.unwrap;
assert_eq!;