G60

A G60 format (de)encoder for rust.

Docs

Examples

Using slices:

```rust use g60::{encode, decode};

fn main() { let origin = b"Hello, world!"; let encoded = "Gt4CGFiHehzRzjCF16";

assert_eq!(encode(origin), encoded);
assert_eq!(origin, &decode(&encoded).unwrap()[..]);

} ```

or using strings:

```rust use g60::{encodestr, decodeto_string};

fn main() { let origin = "Hello, world!"; let encoded = "Gt4CGFiHehzRzjCF16";

assert_eq!(encode_str(origin), encoded);
assert_eq!(origin, &decode_to_string(encoded).unwrap());

} ```

License

This project is licensed under MIT.