1export default function GZheader() {
2 /* true if compressed data believed to be text */
4 /* modification time */
6 /* extra flags (not used when writing a gzip file) */
10 /* pointer to extra field or Z_NULL if none */
12 /* extra field length (valid if extra != Z_NULL) */
13 this.extra_len = 0; // Actually, we don't need it in JS,
14 // but leave for few code modifications
17 // Setup limits is not necessary because in js we should not preallocate memory
18 // for inflate use constant limit in 65536 bytes
21 /* space at extra (only when reading header) */
22 // this.extra_max = 0;
23 /* pointer to zero-terminated file name or Z_NULL */
25 /* space at name (only when reading header) */
27 /* pointer to zero-terminated comment or Z_NULL */
29 /* space at comment (only when reading header) */
31 /* true if there was or will be a header crc */
33 /* true when done reading gzip header (not used when writing a gzip file) */