Deflate gzip with qUncompress , how can i know the expected file size ?
-
Hi,
I'm trying to deflate a gzip encoded network response , i checked out document of qUncompress , it says i must prefix the packed data , with extracted data size , but how ? There's no field indicating that for a normal HTTP response.
Thanks !
-
Never mind, i fixed the problem with zlib , just check out zlib samples should help.
Besides , qUncompress is incompatible with http gzipped stream
-
I do not know if it can be useful anymore, but I've developed a very simple class for performing GZIP compression/decompression using ZLIB...
You can find the full code "here":http://stackoverflow.com/questions/2690328/qt-quncompress-gzip-data/24949005#24949005