So, decompressing and compressing result back with Deflate gives different result. Which makes me think i'm missing something.
math SIZE = 32
math ZSIZE = 26
clog MEMORY_FILE 0 ZSIZE SIZE
log Decompressed.pak 0 SIZE MEMORY_FILE
clog MEMORY_FILE2 0 ZSIZE SIZE MEMORY_FILE
log Recompressed.pak 0 ZSIZE MEMORY_FILE2
clog DecompressedX2.pak 0 ZSIZE SIZE MEMORY_FILE2
example's just a 26 bytes, decompresses to 32 fine.
However, recompressing it back gives result different from original one and decompressing it once more loses 6 bytes.
Am I just monumentally retarded and missed something obvious or is it just the intended behavior by design?
Thanks in advance for explanation.