summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/inspstring.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/inspstring.h b/include/inspstring.h
index dc7e00152..b11739999 100644
--- a/include/inspstring.h
+++ b/include/inspstring.h
@@ -41,6 +41,10 @@ CoreExport bool charremove(char* mp, char remove);
/** Binary to hexadecimal conversion */
CoreExport std::string BinToHex(const std::string& data);
+/** Base64 encode */
+CoreExport std::string BinToBase64(const std::string& data, const char* table = NULL, char pad = 0);
+/** Base64 decode */
+CoreExport std::string Base64ToBin(const std::string& data, const char* table = NULL);
#endif