Re: ZLib DEFLATE

2012-12-14 Thread Jan Schenkel
essage - From: Alejandro Tejada To: use-revolut...@lists.runrev.com Cc: Sent: Thursday, December 13, 2012 11:00 PM Subject: Re: ZLib DEFLATE Hi Jan, I forgot to wrote: Decompress function (Deflate) in Livecode does not care at all about the gzip's crc32, but will truncate or append b

Re: ZLib DEFLATE

2012-12-13 Thread Alejandro Tejada
Hi Jan, I forgot to wrote: Decompress function (Deflate) in Livecode does not care at all about the gzip's crc32, but will truncate or append binary data to fit the decompressed data length as stated in the last four bytes of the gzip binary string... This means that you could create an invali

Re: ZLib DEFLATE

2012-12-13 Thread Alejandro Tejada
Hi Jan, Jan Schenkel wrote > [snip] > I now need the other way around: a way to inflate data that was deflated. If you want to decompress data that it's compatible with the deflate implementation used by Livecode in gzip compress, then you could "build" a gzip compressed string: >From the Dicti