Scott Nichol wrote:

The magic header is 8 bytes: "\x1f\x8b\x08\x00\x00\x00\x00\x00".



Interesting. I've read elsewhere that the header is 10 bytes, but...

I've tried writing those 8 bytes followed by the zlib-deflated data, followed by 32 bits of zero.

Now, where gunzip -t  used to say "invalid compressed data--format violated"

it says "invalid compressed data--crc error"

Any idea how to calculate the CRC?

_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : [EMAIL PROTECTED]




Reply via email to