summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
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/ByteBuffer.cpp
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/ByteBuffer.cpp')
-rw-r--r--src/ByteBuffer.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp
index 70fdc008c..dc6b32a44 100644
--- a/src/ByteBuffer.cpp
+++ b/src/ByteBuffer.cpp
@@ -627,23 +627,6 @@ bool cByteBuffer::WriteBool(bool a_Value)
-bool cByteBuffer::WriteBEUTF16String16(const AString & a_Value)
-{
- CHECK_THREAD;
- CheckValid();
- PUTBYTES(2);
- AString UTF16BE;
- UTF8ToRawBEUTF16(a_Value.data(), a_Value.size(), UTF16BE);
- WriteBEShort((short)(UTF16BE.size() / 2));
- PUTBYTES(UTF16BE.size());
- WriteBuf(UTF16BE.data(), UTF16BE.size());
- return true;
-}
-
-
-
-
-
bool cByteBuffer::WriteVarInt(UInt32 a_Value)
{
CHECK_THREAD;