diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-18 16:04:03 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-18 16:04:03 +0200 |
commit | be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce (patch) | |
tree | d7fd1870df73509f7f0508e33edced7685e953de /src/ByteBuffer.cpp | |
parent | Use xofts ReadPosition() code. (diff) | |
download | cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar.gz cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar.bz2 cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar.lz cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar.xz cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.tar.zst cuberite-be6d4a5912abcfe36a1f0fcee9d76e050a58c0ce.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 262e0e3b5..17e8091c7 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -822,23 +822,6 @@ bool cByteBuffer::SkipRead(size_t a_Count) -bool cByteBuffer::ReverseRead(size_t a_Count) -{ - CHECK_THREAD; - CheckValid(); - if (m_ReadPos < a_Count) - { - return false; - } - - m_ReadPos -= a_Count; - return true; -} - - - - - void cByteBuffer::ReadAll(AString & a_Data) { CHECK_THREAD; |