6 releases

0.1.6 Aug 17, 2024
0.1.5 Aug 17, 2024
0.1.4 Jun 13, 2024
0.1.1 Jan 11, 2024

#38 in #num

28 downloads per month

MulanPSL-2.0

5KB
66 lines

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);
  }
}

About This Project

This project is an open-source component of i18n.site ⋅ Internationalization Solution.

关于本项目

本项目为 i18n.site ⋅ 国际化解决方案 的开源组件。

Dependencies

~480KB