Function bytes_from_hex_string

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

Convert a hexadecimal string into a vector of bytes.

Leading 0x and whitespaces will be ignored.