| Crates.io | base4 |
| lib.rs | base4 |
| version | 0.1.1 |
| created_at | 2025-07-09 18:28:31.676716+00 |
| updated_at | 2025-07-09 18:35:29.289879+00 |
| description | A portable base4 bit packing codec implementation. |
| homepage | |
| repository | https://github.com/SyedAnees21/Base4 |
| max_upload_size | |
| id | 1745316 |
| size | 24,883 |
A simple and portable rust library for representing and manipulating large lists of base-4 integers packed into 128-bit blocks of bit-ints. It provides two main types:
[dependencies]
base4 = { version = "0.1.0" }
Then start using it in your project:
use base4::Base4Int;
fn main() {
let big_int = Base4Int::new();
let large_base4_list = vec![2;100];
debug_assert!(big_int.push_all(&large_base4_list));
}
This crate can be freely distributed under both licenses MIT or Apache-2.0.