diff options
author | tycho <work.tycho@gmail.com> | 2015-09-29 16:51:43 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-10-02 17:26:53 +0200 |
commit | 899955f9e301401de6a26b3de038dfa75279406c (patch) | |
tree | 622933c33fadd152f71ae360477a71dae0a3bf51 /src/ByteBuffer.h | |
parent | Merge pull request #2511 from cuberite/BottomLayerSpawn (diff) | |
download | cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar.gz cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar.bz2 cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar.lz cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar.xz cuberite-899955f9e301401de6a26b3de038dfa75279406c.tar.zst cuberite-899955f9e301401de6a26b3de038dfa75279406c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ByteBuffer.h | 4 |
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); |