pub fn encode_semi_octets(digits: &str) -> Result<Vec<u8>, char>
Digits (0-9 * # a b c, case-insensitive) → swapped semi-octets, F-padded. Err(c) names the first character that has no semi-octet value.
0-9 * # a b c
F
Err(c)