Structs§
- 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
Enums§
- Errors that can be encountered on decoding data (encoding data does not error)
Constants§
- 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 - 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. - Length of the decoding table
- Length of the encoding table (ie. number of different characters)
Statics§
- Table of length 256, mapping any
u8
to the value it represents - Table to map a number 0-84 to a Z85 character.
Functions§
- Decodes a slice of a Z85 string back into the source bytes
- Encodes a slice of bytes into a Z85 string, adding padding if necessary