| 298 | "abcdefghijklmnopqrstuvwxyz" |
| 299 | "0123456789+/"; |
| 300 | static inline bool is_base64(unsigned char c) |
| 301 | { |
| 302 | return (isalnum(c) || (c == '+') || (c == '/')); |
| 303 | } |
| 304 | std::string base64_decode(std::string const& encoded_string) |
| 305 | { |
| 306 | int in_len = encoded_string.size(); |