rust-base32
Install
Cargo.toml
wdg-base32="*"
How to use?
B32::<type>::encode(data);
B32::<type>::validation(data);
B32::<type>::decode(data);
B32::<type>::unsafe_decode(data);
| type | u8/i8 | u16/i16 | u32/i32 | String |
|---|---|---|---|---|
| encode | -/- | -/- | -/- | + |
| validation | +/+ | +/+ | +/+ | + |
| decode | +/+ | +/+ | +/+ | + |
Examples
extern crate wdg_base32;
use ;