ZLib version

Hi I am trying to decompress data read from a zipped file. I manage to create a FArchiveLoadCompressedProxy with the compressed data but when I do the following:
//Decompress
FBufferArchive DecompressedBinaryArray;
Decompressor << DecompressedBinaryArray;

I hit a breakpoint in file Archive.cpp line 367:
check( PackageFileTag.CompressedSize == PACKAGE_FILE_TAG_SWAPPED );

I suspect this is because of a zlib version difference and I tried zlib, gzip etc but still had that crash. The zlib version in the source seems to be 1.2.5. Which software do I use to externally compress files so that they are readable by this version of zlib ?

Thanks
Sanjit

I found “miniz” which is the whole zlib library in a single convenient header file and got things sorted out…