zero_escape

Crates.iozero_escape
lib.rszero_escape
version1.0.0
sourcesrc
created_at2023-10-26 12:07:49.598627
updated_at2023-10-26 12:07:49.598627
descriptionProvides encoding and decoding data using the Zero Escape Encoding method.
homepage
repositoryhttps://github.com/FssAy/zero_escape
max_upload_size
id1014345
size117,095
FssAy (FssAy)

documentation

https://docs.rs/zero_escape/latest/zero_escape/

README

Zero Escape Encoding

Documentation Repository

The zero_escape crate provides functionality for encoding and decoding data using the Zero Escape Encoding method.

Features

  • Encoding: Convert your data into Zero Escape encoded format. View Source
  • Decoding: Decode Zero Escape encoded data back to its original format. View Source

Usage

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);
}

Diagram

The following diagram shows how the encoding algorithm works:

License

This project is licensed under the GPL-3.0-only license.

Commit count: 9

cargo fmt