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