3 ms·
From Wikipedia: "Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a rad
by Mizza 9y ago
From Wikipedia:
"Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation."
Binary. To. Text. As in - bytes in, text out. Come on now.
- SmirkingRevenge 9y agoIts intentional, in part because of all the mayhem caused by Python2's "free-spirited" view on whether a thing is bytes or text. And that "free-spirited" view caused A LOT of mayhem. Python3 errs on the side of not converting bytes to strings or vice versa unless its an explicit conversion on the bytes/string object itself. And it is fan-fucking-tastic!