Implement base64 decode.