pub fn parse_hex(input: &str) -> Result<Vec<u8>, HexError>
Parse a hex string (with or without 0x prefix) into bytes.
0x
Mirror of TS parseHex / fromHex.
parseHex
fromHex