Skip to main content

parse_hex_bytes

Function parse_hex_bytes 

Source
pub fn parse_hex_bytes(s: &str) -> Result<Vec<u8>>
Expand description

Parse a hex string into bytes.

Accepts with/without 0x prefix and ignores spaces/underscores.