[][src]Function serial_unit_testing::utils::bytes_from_binary_string

pub fn bytes_from_binary_string(original_text: &str) -> Result<Vec<u8>, String>

Convert a binary string into a vector of bytes.

Leading 0b and whitespaces will be ignored.