2012-08-19 19:30:59 -07:00
|
|
|
#ifndef BASE64_HEADER
|
|
|
|
#define BASE64_HEADER
|
|
|
|
|
2011-05-20 12:28:03 -07:00
|
|
|
#include <string>
|
|
|
|
|
2012-06-03 10:32:44 -07:00
|
|
|
bool base64_is_valid(std::string const& s);
|
2011-05-20 12:28:03 -07:00
|
|
|
std::string base64_encode(unsigned char const* , unsigned int len);
|
|
|
|
std::string base64_decode(std::string const& s);
|
2012-08-19 19:30:59 -07:00
|
|
|
|
2013-02-25 22:57:59 -08:00
|
|
|
#endif // BASE64_HEADER
|