pub fn hex_u32_unprefixed(s: &str) -> Result<u32, UnprefixedHexError>
Available on crate feature
alloc
only.Expand description
Parses a u32
from an unprefixed hex string.
ยงErrors
- If the input string contains a
0x
(or0X
) prefix. - If the input string is not a valid hex encoding of a
u32
.