10 releases (3 stable)
Uses new Rust 2021
1.2.0 | Jan 1, 2023 |
---|---|
1.1.0 | Dec 8, 2022 |
1.0.0 | Aug 17, 2022 |
0.8.0 | May 1, 2022 |
#313 in Algorithms
84 downloads per month
Used in fewer than 7 crates
6KB
114 lines
Astro Format
Astro Format is a library for transcoding between multiple arrays and a single buffer.
Author
Roy R. O. Okello
Usage
Cargo.toml
[dependencies]
astro-format = "1.2.0"
Module.rs
use astro_format;
API
Encode
let initial_arrays: Vec<&[u8]> = Vec::new();
let encoded_buffer: Vec<u8> = astro_format::encode(&initial_arrays);
Decode
let decoded_arrays: Vec<&[u8]> = astro_format::decode(&encoded_buffer)?;
License
MIT