Function bitcoin_units::parse::hex_u128

source ยท
pub fn hex_u128<S: AsRef<str> + Into<String>>(
    s: S,
) -> Result<u128, ParseIntError>
Available on crate feature alloc only.
Expand description

Parses a u128 from a hex string.

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