Function hex_u32

Source
pub fn hex_u32<S: AsRef<str> + Into<String>>(s: S) -> Result<u32, ParseIntError>
Expand description

Parses a u32 from a hex string.

Input string may or may not contain a 0x prefix.