pub fn str_to_u32(a: &str) -> u32
Parse &str
to
u32
rustils::parse::uint::str_to_u32("-1");
rustils::parse::uint::str_to_u32("4294967296");
use rustils::parse::uint::str_to_u32;
assert_eq!(str_to_u32("0"), 0_u32);
assert_eq!(str_to_u32("4294967295"), 4294967295_u32);