support base64 codec