summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-27 23:13:37 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-27 23:13:37 +0200
commit1f8ee70d55d0d076583e14329ca09377c41b12e0 (patch)
treeb9d021314c75e76c24895f3c2cc2b27744a9c900 /src/ByteBuffer.cpp
parentMerge remote-tracking branch 'origin/master' into endofsupport (diff)
downloadcuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar.gz
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar.bz2
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar.lz
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar.xz
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.tar.zst
cuberite-1f8ee70d55d0d076583e14329ca09377c41b12e0.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;