Module z85 Copy item path Source EncodedReprInfo Various details about a slice and it’s encoded output bytes, including
number of full frames, remainder, and how much capacity is needed to hold
all the encoded bytes DecodeError Errors that can be encountered on decoding data (encoding data does not error) BINARY_FRAME_LEN One frame of this many bytes (4) from the binary data encodes to
one frame of 5 (STRING_FRAME_LEN
) bytes of encoded Z85 output STRING_FRAME_LEN One frame of this many bytes (5) from the encoded Z85 data decodes
to one frame of 4 (BINARY_FRAME_LEN
) bytes of binary data. TABLE_DECODER_LEN Length of the decoding table TABLE_ENCODER_LEN Length of the encoding table (ie. number of different characters) TABLE_DECODER Table of length 256, mapping any u8
to the value it represents TABLE_ENCODER Table to map a number 0-84 to a Z85 character. decode_z85 Decodes a slice of a Z85 string back into the source bytes encode_z85 Encodes a slice of bytes into a Z85 string, adding padding if necessary