yabase/base32/zbase32
Values
pub fn decode(
input: String,
) -> Result(BitArray, encoding.CodecError)
Decode a z-base-32 string to a BitArray.
Non-alphabet characters (whitespace, CR/LF, punctuation outside
z-base-32’s accepted set) are rejected with InvalidCharacter
carrying the offending byte and its position. The alphabet check
runs before the length check so the caller does not see a
misleading InvalidLength when the real fault is an
out-of-alphabet byte.