Skip to content
Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cargo.toml Remove some unnecessary bits definitions in numeric types Jul 11, 2019
LICENSE-APACHE Add license text Feb 17, 2017
LICENSE-MIT Update documentation slightly Sep 11, 2018


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.



Add this to your Cargo.toml:

bitstream-io = "0.8"

and this to your crate root:

extern crate bitstream_io;
You can’t perform that action at this time.