summaryrefslogtreecommitdiffstats
path: root/src/StringUtils.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-09-28 22:04:30 +0200
committerMattes D <github@xoft.cz>2014-09-28 22:04:30 +0200
commit8d55cd409e38d8759b61e89a4b3dea678c1e5f98 (patch)
treeb587e2f8d0b1536e1e4ff0d0bc62c998eccd5141 /src/StringUtils.h
parentMerge pull request #1463 from mc-server/sp_docs (diff)
parentCompilation fix (diff)
downloadcuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.gz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.bz2
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.lz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.xz
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.tar.zst
cuberite-8d55cd409e38d8759b61e89a4b3dea678c1e5f98.zip
Diffstat (limited to 'src/StringUtils.h')
-rw-r--r--src/StringUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StringUtils.h b/src/StringUtils.h
index a76894d05..159e8ecac 100644
--- a/src/StringUtils.h
+++ b/src/StringUtils.h
@@ -66,8 +66,8 @@ extern void ReplaceString(AString & iHayStack, const AString & iNeedle, const AS
/// Converts a stream of BE shorts into UTF-8 string; returns a ref to a_UTF8
extern AString & RawBEToUTF8(const char * a_RawData, size_t a_NumShorts, AString & a_UTF8);
-/// Converts a UTF-8 string into a UTF-16 BE string, packing that back into AString; return a ref to a_UTF16
-extern AString & UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length, AString & a_UTF16);
+/// Converts a UTF-8 string into a UTF-16 BE string; returns a ref to a_UTF16
+extern AString UTF8ToRawBEUTF16(const char * a_UTF8, size_t a_UTF8Length);
/// Creates a nicely formatted HEX dump of the given memory block. Max a_BytesPerLine is 120
extern AString & CreateHexDump(AString & a_Out, const void * a_Data, size_t a_Size, size_t a_BytesPerLine);