PyDocs

Nav

Internet Data Handling

b85encode

base64

function · Added in 3.4 (source)
  • b85encode(b, pad=False, *, wrapcol=0)
Encode bytes-like object b in base85 format and return a bytes object.

If wrapcol is non-zero, insert a newline (b'\n') character after at most
every wrapcol characters.

The input is padded with b'' so its length is a multiple of 4
bytes before encoding.  If pad is true, all the resulting
characters are retained in the output, which will always be a
multiple of 5 bytes.
Changed in 3.15
  • 3.15: Added the wrapcol parameter.
0 Examples
No examples for base64/b85encode.
See Also
No see-alsos for base64/b85encode
0 Notes
No notes for b85encode