Function bitcoin_units::parse::hex_u32
source · pub fn hex_u32<S: AsRef<str> + Into<String>>(s: S) -> Result<u32, ParseIntError>Available on crate feature
alloc only.Expand description
Parses a u32 from a hex string.
Input string may or may not contain a 0x prefix.