yabase/base32/crockford

Values

pub fn decode(
  input: String,
) -> Result(BitArray, encoding.CodecError)

Decode a Crockford Base32 string to a BitArray. Accepts hyphens (ignored). O->0, I/L->1.

pub fn encode(data: BitArray) -> String

Encode a BitArray to Crockford Base32 string (no padding).

Search Document