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