pub fn hex_remove_prefix(s: &str) -> Result<&str, PrefixedHexError>
Available on crate feature
alloc
only.Expand description
Removes the prefix 0x
(or 0X
) from a hex string.
ยงErrors
If the input string does not contain a prefix.