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

#41 in #num

Download history 4/week @ 2024-07-25 2/week @ 2024-08-01 226/week @ 2024-08-15 11/week @ 2024-08-22 13/week @ 2024-09-19 13/week @ 2024-09-26 2/week @ 2024-10-03

451 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