pub fn map_string_to_bytes(string: &str, table: &[char]) -> Vec<u8>