[][src]Function serial_unit_testing::utils::bytes_from_radix_string

pub fn bytes_from_radix_string(
    text: &str,
    radix: u32
) -> Result<Vec<u8>, String>

Convert a radix string into a vector of bytes.

Leading and trailing whitespaces will result in an error. Conversion happens by 2 characters per byte.