00001 class Base64 : public SystemCode { 00002 public: 00003 static PTR Encode(PTR Input, uint32 inSize, uint32 *outSize); 00004 static PTR Decode(PTR Input, uint32 inSize, uint32 *outSize); 00005 static PTR Encode(char *str) { return Encode(str, strlen(str), (uint32*)NULL);} 00006 static PTR Decode(char *str) { return Decode(str, strlen(str), (uint32*)NULL);} 00007 };