bitstream-io 0.6.5

Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.

bitstream-io

A Rust library for reading or writing binary values to or from streams which may not be aligned at a whole byte.

This library is intended to be flexible enough to wrap around any stream which implements the Read or Write traits. It also supports a wide array of integer data types as containers for those binary values.

Documentation

Usage

Add this to your Cargo.toml:

[dependencies]
bitstream-io = "0.6"

and this to your crate root:

extern crate bitstream_io;