I'm using the base64.b64encode library in python to convert my images into their b64 version. I noticed that while the b64 specs says that it takes 1.3 times the memory of the original data. I observe that it takes almost twice if not more of the original size.
Can anyone explain the behavior? Do we have memory fragmentation when doing base 64 encoding?