yabase/z85
Values
pub fn decode(
input: String,
) -> Result(BitArray, error.CodecError)
Decode a Z85 string to a BitArray. Input length must be a multiple of 5.
pub fn encode(data: BitArray) -> Result(String, error.CodecError)
Encode a BitArray to Z85. Returns Error(InvalidLength) if input length is not a multiple of 4.