base64 encode/decode buffer size