An open API service indexing awesome lists of open source software.

https://github.com/nelsongillo/bitwise-io

buffered bitwise input/output
https://github.com/nelsongillo/bitwise-io

bitwise input-output rust-lang rust-library

Last synced: about 1 year ago
JSON representation

buffered bitwise input/output

Awesome Lists containing this project

README

          

# bitwise-io
A Rust Library that enables you to read/write single bits from/to a stream

## Install
Add this to your `Cargo.toml`
```toml
[dependencies]
bitwise-io = "0.1.2"
```

## Internal
### Reader
The `BitReader` wraps a `BufRead` Trait and a position indicator for the next bit.

### Writer
The `BitWriter` wraps the `Write` Trait and has an internal buffer of 1024 bytes (8192 bits).