diff options
author | pixel <pixel> | 2007-06-11 11:25:36 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-06-11 11:25:36 +0000 |
commit | 336cf502704b586f4f516f2d756e175ffa98a57a (patch) | |
tree | d8b8630f9b695ccc7fe90c482f19172305632317 /include | |
parent | 9b1bb634aea47414793c41cf7be5e2c285de96a9 (diff) |
Fixing base64 a bit - definition troubles, and padding.
Diffstat (limited to 'include')
-rw-r--r-- | include/Base64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Base64.h b/include/Base64.h index f080ed8..9cfdf12 100644 --- a/include/Base64.h +++ b/include/Base64.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Base64.h,v 1.2 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: Base64.h,v 1.3 2007-06-11 11:25:36 pixel Exp $ */ #ifndef __BASE64_H__ #define __BASE64_H__ @@ -26,7 +26,7 @@ class Base64 : public Base { public: - static String encode(char * data, int len); + static String encode(const char * data, int len); static unsigned char * decode(const String & str_in, int * len_out); private: |