C
CMI
Guest
Hey. Well Done. I've been trying to use the zLib library on-and-off for years, with no real luck apart from being able to compress memptr using the DEFALTE algorithm of zLib. I'm reading a compress GZIP data from a socket as part of a HTTP/web client. Why would you think that the compress memprt would fail when calling the uncompress() method with the following error 'Error on data uncompression. However if I write the compressed memptr to a file then call the uncompressFile() method it works. Is there some extra headers in the GZIP data which is stripped as part of the gzread procedure in the zlib library???
Continue reading...
Continue reading...