summaryrefslogtreecommitdiffstats
path: root/src/ByteBuffer.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-10-02 17:43:00 +0200
committerMattes D <github@xoft.cz>2015-10-02 17:43:00 +0200
commitc8019856973e0dbca9f1925bb4f163954250869e (patch)
treef229227672d60a983213f8d1ba8ff5981086ca80 /src/ByteBuffer.h
parentMerge pull request #2511 from cuberite/BottomLayerSpawn (diff)
parentImproved types of utf 16 strings (diff)
downloadcuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.gz
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.bz2
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.lz
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.xz
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.tar.zst
cuberite-c8019856973e0dbca9f1925bb4f163954250869e.zip
Diffstat (limited to 'src/ByteBuffer.h')
-rw-r--r--src/ByteBuffer.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ByteBuffer.h b/src/ByteBuffer.h
index 0a4935327..cec85a404 100644
--- a/src/ByteBuffer.h
+++ b/src/ByteBuffer.h
@@ -63,7 +63,6 @@ public:
bool ReadBEFloat (float & a_Value);
bool ReadBEDouble (double & a_Value);
bool ReadBool (bool & a_Value);
- bool ReadBEUTF16String16(AString & a_Value); // string length as BE short, then string as UTF-16BE
bool ReadVarInt32 (UInt32 & a_Value);
bool ReadVarInt64 (UInt64 & a_Value);
bool ReadVarUTF8String (AString & a_Value); // string length as VarInt, then string as UTF-8
@@ -109,9 +108,6 @@ public:
/** Reads a_Count bytes into a_String; returns true if successful */
bool ReadString(AString & a_String, size_t a_Count);
- /** Reads 2 * a_NumChars bytes and interprets it as a UTF16-BE string, converting it into UTF8 string a_String */
- bool ReadUTF16String(AString & a_String, size_t a_NumChars);
-
/** Skips reading by a_Count bytes; returns false if not enough bytes in the ringbuffer */
bool SkipRead(size_t a_Count);