34 #pragma warning(disable:4514)
40 #ifdef SOCKETS_NAMESPACE
41 namespace SOCKETS_NAMESPACE {
53 void encode(FILE *, std::string& ,
bool add_crlf =
true);
54 void encode(
const std::string&, std::string& ,
bool add_crlf =
true);
55 void encode(
const char *,
size_t, std::string& ,
bool add_crlf =
true);
56 void encode(
unsigned char *,
size_t, std::string& ,
bool add_crlf =
true);
58 void decode(
const std::string&, std::string& );
59 void decode(
const std::string&,
unsigned char *,
size_t&);
61 size_t decode_length(
const std::string& );
67 static const char rstr[128];
71 #ifdef SOCKETS_NAMESPACE
Base64 & operator=(const Base64 &)