Skip to content

Provide methods for dealing with single bit input and output in Rust

License

Notifications You must be signed in to change notification settings

WanzenBug/bitstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitstream-rs

Rust crate for reading and writing single bit values from ordinary Readers and Writers

Usage

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

About

Provide methods for dealing with single bit input and output in Rust

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages