Replace tabs with spaces in more files.
--HG-- branch : trunk
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/** \file Base64.h
|
||||
** \date 2004-02-13
|
||||
** \author [email protected]
|
||||
** \date 2004-02-13
|
||||
** \author [email protected]
|
||||
**/
|
||||
/*
|
||||
Copyright (C) 2004-2007 Anders Hedstrom
|
||||
@@ -8,7 +8,7 @@ Copyright (C) 2004-2007 Anders Hedstrom
|
||||
This library is made available under the terms of the GNU GPL.
|
||||
|
||||
If you would like to use this library in a closed-source application,
|
||||
a separate license agreement is available. For information about
|
||||
a separate license agreement is available. For information about
|
||||
the closed-source license agreement for the C++ sockets library,
|
||||
please visit http://www.alhem.net/Sockets/license.html and/or
|
||||
email [email protected].
|
||||
@@ -44,28 +44,28 @@ namespace SOCKETS_NAMESPACE {
|
||||
|
||||
/** \defgroup util Utilities */
|
||||
|
||||
/** Base64 encode/decode.
|
||||
\ingroup util */
|
||||
/** Base64 encode/decode.
|
||||
\ingroup util */
|
||||
class Base64
|
||||
{
|
||||
public:
|
||||
Base64();
|
||||
Base64();
|
||||
|
||||
void encode(FILE *, std::string& , bool add_crlf = true);
|
||||
void encode(const std::string&, std::string& , bool add_crlf = true);
|
||||
void encode(const char *, size_t, std::string& , bool add_crlf = true);
|
||||
void encode(const unsigned char *, size_t, std::string& , bool add_crlf = true);
|
||||
void encode(FILE *, std::string& , bool add_crlf = true);
|
||||
void encode(const std::string&, std::string& , bool add_crlf = true);
|
||||
void encode(const char *, size_t, std::string& , bool add_crlf = true);
|
||||
void encode(const unsigned char *, size_t, std::string& , bool add_crlf = true);
|
||||
|
||||
void decode(const std::string&, std::string& );
|
||||
void decode(const std::string&, unsigned char *, size_t&);
|
||||
void decode(const std::string&, std::string& );
|
||||
void decode(const std::string&, unsigned char *, size_t&);
|
||||
|
||||
size_t decode_length(const std::string& );
|
||||
size_t decode_length(const std::string& );
|
||||
|
||||
private:
|
||||
Base64(const Base64& ) {}
|
||||
Base64& operator=(const Base64& ) { return *this; }
|
||||
static const char *bstr;
|
||||
static const char rstr[128];
|
||||
Base64(const Base64& ) {}
|
||||
Base64& operator=(const Base64& ) { return *this; }
|
||||
static const char *bstr;
|
||||
static const char rstr[128];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user