zero_escape 1.0.0

Provides encoding and decoding data using the Zero Escape Encoding method.
Documentation
  • Coverage
  • 0%
    0 out of 11 items documented0 out of 0 items with examples
  • Size
  • Source code size: 116.78 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.52 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • FssAy/zero_escape
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • FssAy

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.