pub fn decode(code: &str) -> Option<(Kind, Vec<u8>)>Expand description
Read a share code back, or None if it is not one: wrong prefix, a
character that is not in the alphabet, or a checksum that does not match
what was typed.
Deliberately forgiving about everything that does not change the meaning (case, spaces, hyphens, and the four letters the alphabet leaves out) because a code is something a person retypes from another screen.