Crates.io | bitstream-rs |
lib.rs | bitstream-rs |
version | 0.2.0 |
source | src |
created_at | 2017-01-06 22:04:32.072575 |
updated_at | 2017-06-04 20:04:50.852392 |
description | Crate for reading and writing single bit values from ordinary Readers and Writers |
homepage | |
repository | https://github.com/WanzenBug/bitstream |
max_upload_size | |
id | 7958 |
size | 18,107 |
Rust crate for reading and writing single bit values from ordinary Readers and Writers
Add this library to your dependencies in your Cargo.toml
[dependencies]
bitstream-rs = "0.2.0"
Then import it in your source code
extern crate bitstream;
You can now use the BitReader
and BitWriter
let mut writer = BitWriter::new(outfile);
let mut reader = BitReader::new(infile);
For more information, take a look at the docs