b62

Crates.iob62
lib.rsb62
version0.1.4
sourcesrc
created_at2024-01-11 10:34:24.468596
updated_at2024-06-13 09:55:34.023544
descriptionb62
homepagehttps://github.com/i18n-site/rust/tree/main/b62
repositoryhttps://github.com/i18n-site/rust.git
max_upload_size
id1096157
size3,864
(3tieto)

documentation

README

b62

#[test]
fn test() {
  // let a = b"12345sdfghjuEFEFZ";
  // let b = b62::e(a);
  // let o = b62::d(&b).unwrap();
  // assert_eq!(&a[..], &o[..]);
  for (num, nstr) in [(132222322112u64, "1oqpr8ow"), (0, "0")] {
    let s = b62::num::e36(num);
    println!("{} {}", num, s);
    assert_eq!(s, nstr);
  }
}
Commit count: 3

cargo fmt