pub fn to_pattern(str: &str) -> Vec<Option<u8>>
Converts a string of hex characters into a byte pattern with wildcards. ? is the character used for wildcards. Hex characters don’t have to be prefixed with 0x