pub fn hex_u128_unchecked(s: &str) -> Result<u128, ParseIntError>
Available on crate feature
alloc
only.Expand description
Parses a u128
from an unprefixed hex string without first checking for a prefix.
ยงErrors
- If the input string contains a
0x
(or0X
) prefix, returnsInvalidDigit
due to thex
. - If the input string is not a valid hex encoding of a
u128
.