bitcoin_units::parse

Function hex_check_unprefixed

source
pub fn hex_check_unprefixed(s: &str) -> Result<&str, UnprefixedHexError>
Available on crate feature alloc only.
Expand description

Checks a hex string does not have a prefix 0x (or 0X).

ยงErrors

If the input string contains a prefix.