[−][src]Function serial_unit_testing::utils::bytes_from_hex_string
pub fn bytes_from_hex_string(original_text: &str) -> Result<Vec<u8>, String>
Convert a hexadecimal string into a vector of bytes.
Leading 0x and whitespaces will be ignored.