convert-base 1.0.1

convert the radix (base) of digits stored in a vector
Documentation
1
2
3
4
5
6
7
use convert_base::Convert;

fn main () {
  let mut base = Convert::new(4,500);
  let output = base.convert::<u8,u16>(&vec![1,1,1,1,2,2,1,0,2,2,0,0,2,1]);
  println!["{:?}", output];
}