diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 23:13:37 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-09-27 23:13:37 +0200 |
commit | 1f8ee70d55d0d076583e14329ca09377c41b12e0 (patch) | |
tree | b9d021314c75e76c24895f3c2cc2b27744a9c900 /src/ByteBuffer.cpp | |
parent | Merge remote-tracking branch 'origin/master' into endofsupport (diff) | |
download | cuberite-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.cpp | 17 |
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; |