[Qt-interest] qUncompress large data
Konrad Rosenbaum
konrad at silmor.de
Mon Nov 15 16:30:15 CET 2010
On Monday 15 November 2010 16:14:37 jani at wbsources.com wrote:
> I need to receive zlib compressed data over network in chunks.
> Is it possible to qUncompress the chunked data or must I join the whole
> data together and call qUncompress? Sometimes I receive ~4GB of files...
AFAIK qUncompress works only on complete chunks of data. But the zlib
interface is not overly difficult to use as long as you are not afraid of
pointers and follow the instructions (particularly about allocation sizes)
exactly.
Konrad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101115/9d0409dd/attachment.bin
More information about the Qt-interest-old
mailing list