Docs.rs
gibbercode-0.1.0
gibbercode 0.1.0
Permalink
Docs.rs crate page
Apache-2.0
OR
MIT
OR
ISC
Links
crates.io
Source
Owners
nullchinchilla
Dependencies
itertools ^0.10.5
normal
Versions
66.67%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
gibbercode
0.1.0
All Items
Crate Items
Functions
Crate
gibbercode
Copy item path
Source
Functions
ยง
decode
Decodes a gibbercode string into two numbers. This is actually infallible, because it simply ignores any garbage in the input and only decodes the part that looks like a gibbercode.
encode
Encodes two numbers with gibbercode. We take u128 because almost any number can fit in it.