Expand description
Base64 (RFC 4648, standard alphabet with padding), as used to embed images in HTML and SVG documents: encoding, and decoding.
Enums§
- Base64
Error - Why text is not valid base64.
Functions§
- decode
- The bytes of base64
text(standard alphabet, with padding). Line breaks (\n,\r) are skipped, as inencode_lines’s output. - encode
datain base64 on one line.- encode_
lines datain base64 in lines of 76 characters, each ending with a newline (Python’sbase64.encodebytes, MIME style).