base64.h 250 B

12345678910
  1. #ifndef BASE64_HEADER
  2. #define BASE64_HEADER
  3. #include <string>
  4. bool base64_is_valid(std::string const& s);
  5. std::string base64_encode(unsigned char const* , unsigned int len);
  6. std::string base64_decode(std::string const& s);
  7. #endif // BASE64_HEADER