summaryrefslogtreecommitdiffstats
path: root/Tools/MCADefrag/MCADefrag.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-13 12:48:22 +0100
committermadmaxoft <github@xoft.cz>2014-02-13 16:54:39 +0100
commitcd658e02e8dcb7503d8aa5d75c314dcddb1ca11a (patch)
tree22a1dd2465a4587bef25f50973da6863d8c1dcea /Tools/MCADefrag/MCADefrag.h
parentMCADefrag: Initial implementation. (diff)
downloadcuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar.gz
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar.bz2
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar.lz
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar.xz
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.tar.zst
cuberite-cd658e02e8dcb7503d8aa5d75c314dcddb1ca11a.zip
Diffstat (limited to '')
-rw-r--r--Tools/MCADefrag/MCADefrag.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Tools/MCADefrag/MCADefrag.h b/Tools/MCADefrag/MCADefrag.h
index 0801d1b5d..ef527863d 100644
--- a/Tools/MCADefrag/MCADefrag.h
+++ b/Tools/MCADefrag/MCADefrag.h
@@ -47,10 +47,11 @@ protected:
/** The current compressed chunk data. Valid after a successful ReadChunk().
This contains only the compression method byte and the compressed data,
- but not the length preceding the data in the MCA file. */
+ but not the exact-length preceding the data in the MCA file. */
unsigned char m_CompressedChunkData[MAX_COMPRESSED_CHUNK_DATA_SIZE];
- /** Size of the actual current compressed chunk data. */
+ /** Size of the actual current compressed chunk data, excluding the 4 exact-length bytes.
+ This is the amount of bytes in m_CompressedChunkData[] that are valid. */
int m_CompressedChunkDataSize;
/** The current raw chunk data. Valid after a successful ReadChunk(), if recompression is active. */