#base-16 #wdg #b16

wdg-base16

The Base16 Data Encoding

30 releases

Uses old Rust 2015

0.4.7 Sep 30, 2017
0.4.6 Sep 29, 2017
0.3.11 Sep 18, 2017
0.2.8 May 28, 2017
0.1.0 May 25, 2017

#5 in #wdg

MIT license

66KB
1.5K SLoC

rust-base16

Build Status Build status Docs.rs Crates.io License

extern crate wdg_base16;

use wdg_base16::B16;
use wdg_base16::B16Encode;
use wdg_base16::B16Decode;

fn main(){
    println!("{}",B16::<String>::encode(123456u64).unwrap());
    println!("{}",B16::<u64>::decode(B16::<String>::encode(123456u64)).unwrap());
}

Dependencies

~150KB