yabase/rfc1924_base85

Values

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

Decode an RFC 1924 Base85 string to a BitArray. Input length must be a multiple of 5 characters.

pub fn encode(data: BitArray) -> Result(String, error.CodecError)

Encode a BitArray to RFC 1924 Base85. Input length must be a multiple of 4 bytes.

Search Document