On May 30, 2007, at 6:30 AM, Satyam Sharma wrote:
[1] For your reference, here is the user code in question:
...
if (srclen > 2 && !(data_in[1] & PRESET_DICT) &&
((data_in[0] & 0x0f) == Z_DEFLATED) &&
!(((data_in[0]<<8) + data_in[1]) % 31)) {
The funny thing her
On May 29, 2007, at 8:15 AM, Satyam Sharma wrote:
skipping some checksum calculation if some
flag (PRESET_DICT) is absent from the input stream about to
be decompressed ...
You don't need to dissect the header manually to look for that bit.
If you feed inflate() at least the first two bytes,
2 matches
Mail list logo