multibase implementation in Rust.
First add this to your Cargo.toml
toml
[dependencies]
multibase = "*"
Then run cargo build
.
base32 and base64 are orders of magnitude faster due to byte alignment. Don't be surprised if using a different base turns into a performance bottleneck. You were warned!
```rust use multibase::Base;
let base64 = encode(Base::Base64, b"hello world"); let (base, data) = decode(base64); ```
Captain: @dignifiedquire.
Contributions welcome. Please check out the issues.
Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2017 Friedel Ziegelmayer