# rust-base32
[](https://travis-ci.org/WatchDG/rust-base32)
[](https://ci.appveyor.com/project/WatchDG/rust-base32/branch/master)
[](https://docs.rs/wdg-base32)
[](https://crates.io/crates/wdg-base32)
[](https://github.com/WatchDG/rust-base32/blob/master/LICENSE)
# Install
Cargo.toml
``` Rust
[dependencies]
wdg-base32="*"
```
# How to use?
```
B32::<type>::encode(data);
B32::<type>::decode(data);
```
# Examples
``` Rust
extern crate wdg_base32;
use wdg_base32::{B32,B32Encode,B32Decode};
fn main(){
// u8
println!("{}",B32::<String>::encode(5u8));
// u16
println!("{}",B32::<String>::encode(5u16));
}
```