Memory allocation reduced in Base64 encode/decode functions.