pub fn str_to_u64(a: &str) -> u64
Parse &str
to
u64
rustils::parse::ulong::str_to_u64("-1");
rustils::parse::ulong::str_to_u64("18446744073709551616");
use rustils::parse::ulong::str_to_u64;
assert_eq!(str_to_u64("0"), 0_u64);
assert_eq!(str_to_u64("18446744073709551615"), 18446744073709551615_u64);