You are not logged in.
Pages: 1
I have data compressed with ZLIB wrapped using ZLIB headers.
The data is not corrupted. I can decompress using PHP's gzuncompress:
https://www.php.net/manual/en/function.gzuncompress.php
but when I try UncompressMem() it fails.
So what kind of data UncompressMem() expects if not Zlib? Raw deflate, Zip, Gzip?
Also how I can unpack Zlib uzing PasZip?
Offline
From my tests I think UncompressMem() expects Raw deflate and therefore I should use:
UncompressMem(@InBuffer[2], @OutBuffer[0], InBufferLen-6, OutBufferLen);
Is this correct approach?
Last edited by domek (2020-01-17 13:18:27)
Offline
Pages: 1