00001 /* $Id: OSBase64.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00018 #ifndef BASE64_H 00019 #define BASE64_H 00020 00021 #include<string> 00022 00035 class Base64{ 00036 public: 00037 00038 00040 Base64(); 00041 00043 ~Base64(); 00044 00052 static std::string encodeb64(char* bytes, int size); 00053 00060 static std::string decodeb64(char* b64bytes); 00061 };//class Base64 00062 00063 00064 #endif 00065