Added *Chomp_n() functions and Base64Encode()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@533 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-25 07:54:29 +00:00
parent 795e0ec590
commit 0e126ee090
2 changed files with 100 additions and 0 deletions
+3
View File
@@ -77,6 +77,7 @@ public:
static CString Format(const CString& sFormatStr, ...);
unsigned long Base64Decode(CString& sRet) const;
bool Base64Encode(CString& sRet, unsigned int uWrap = 0) const;
CString MD5() const;
static CString ToString(char c);
@@ -113,6 +114,8 @@ public:
bool LeftChomp(unsigned int uLen = 1);
bool RightChomp(unsigned int uLen = 1);
CString LeftChomp_n(unsigned int uLen = 1);
CString RightChomp_n(unsigned int uLen = 1);
private:
protected: