Fixed wrong byte order in the gzip xlen field
This commit is contained in:
parent
1dc34f0bfd
commit
df216c2b67
@ -429,7 +429,7 @@ final class Inflate {
|
||||
r = f;
|
||||
z.avail_in --;
|
||||
z.total_in ++;
|
||||
gzipXLen = gzipXLen << 8 | z.next_in[z.next_in_index ++] & 0xff;
|
||||
gzipXLen |= (z.next_in[z.next_in_index ++] & 0xff) << (1 - gzipBytesToRead) * 8;
|
||||
gzipBytesToRead --;
|
||||
}
|
||||
gzipBytesToRead = gzipXLen;
|
||||
|
Loading…
Reference in New Issue
Block a user