00001 /* $Id: OSBase64.h 4292 2011-09-21 05:47:18Z kmartin $ */ 00016 #ifndef BASE64_H 00017 #define BASE64_H 00018 00019 #include<string> 00020 00033 class Base64 00034 { 00035 public: 00036 00037 00039 Base64(); 00040 00042 ~Base64(); 00043 00051 static std::string encodeb64(char* bytes, int size); 00052 00059 static std::string decodeb64(char* b64bytes); 00060 };//class Base64 00061 00062 00063 #endif 00064