summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-07 12:36:36 +0100
committermadmaxoft <github@xoft.cz>2014-01-07 12:36:36 +0100
commite3bb82d95a0bf270f9d43d0504bf155b52dc516b (patch)
treeb669419ae906a3ad08f695e598f661aebd36bc0d /src/StringUtils.h
parentDisabled the type conversion MSVC warning. (diff)
downloadcuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar.gz
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar.bz2
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar.lz
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar.xz
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.tar.zst
cuberite-e3bb82d95a0bf270f9d43d0504bf155b52dc516b.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index 471e843e4..2373f3843 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -81,6 +81,9 @@ extern AString ReplaceAllCharOccurrences(const AString & a_String, char a_From,
/// Decodes a Base64-encoded string into the raw data
extern AString Base64Decode(const AString & a_Base64String);
+/// Encodes a string into Base64
+extern AString Base64Encode(const AString & a_Input);
+
/// Reads two bytes from the specified memory location and interprets them as BigEndian short
extern short GetBEShort(const char * a_Mem);