Crates.io | bitwise-io |
lib.rs | bitwise-io |
version | 0.1.2 |
source | src |
created_at | 2021-01-29 12:51:46.610851 |
updated_at | 2021-01-29 14:19:59.150292 |
description | buffered bitwise input/output |
homepage | |
repository | https://github.com/einzigartigername/bitwise-io |
max_upload_size | |
id | 348038 |
size | 11,247 |
A Rust Library that enables you to read/write single bits from/to a stream
Add this to your Cargo.toml
[dependencies]
bitwise-io = "0.1.0"
The BitReader
wraps a BufRead
Trait and a position indicator for the next bit.
The BitWriter
wraps the Write
Trait and has an internal buffer of 1024 bytes (8192 bits).