| Crates.io | zero_escape |
| lib.rs | zero_escape |
| version | 1.0.0 |
| created_at | 2023-10-26 12:07:49.598627+00 |
| updated_at | 2023-10-26 12:07:49.598627+00 |
| description | Provides encoding and decoding data using the Zero Escape Encoding method. |
| homepage | |
| repository | https://github.com/FssAy/zero_escape |
| max_upload_size | |
| id | 1014345 |
| size | 117,095 |
The zero_escape crate provides functionality for encoding and decoding data using the Zero Escape Encoding method.
Add zero_escape to your Cargo.toml dependencies:
[dependencies]
zero_escape = "0.1.0"
Using the encoding functions:
fn main() {
// Get the data you want to encode
let any_data: Vec<u8> = get_any_data();
// Encode and decode using ZEE
let encoded = zero_escape::encode(any_data);
let decoded = zero_escape::decode(encoded);
}
The following diagram shows how the encoding algorithm works:
This project is licensed under the GPL-3.0-only license.