Sha256: 26a408c30877b1e67838a5c503ad542bd6e58b65f4112227c9c6c67c6caf1b10

Contents?: true

Size: 1.25 KB

Versions: 62

Compression:

Stored size: 1.25 KB

Contents

'use strict';


function GZheader() {
  /* true if compressed data believed to be text */
  this.text       = 0;
  /* modification time */
  this.time       = 0;
  /* extra flags (not used when writing a gzip file) */
  this.xflags     = 0;
  /* operating system */
  this.os         = 0;
  /* pointer to extra field or Z_NULL if none */
  this.extra      = null;
  /* extra field length (valid if extra != Z_NULL) */
  this.extra_len  = 0; // Actually, we don't need it in JS,
                       // but leave for few code modifications

  //
  // Setup limits is not necessary because in js we should not preallocate memory 
  // for inflate use constant limit in 65536 bytes
  //

  /* space at extra (only when reading header) */
  // this.extra_max  = 0;
  /* pointer to zero-terminated file name or Z_NULL */
  this.name       = '';
  /* space at name (only when reading header) */
  // this.name_max   = 0;
  /* pointer to zero-terminated comment or Z_NULL */
  this.comment    = '';
  /* space at comment (only when reading header) */
  // this.comm_max   = 0;
  /* true if there was or will be a header crc */
  this.hcrc       = 0;
  /* true when done reading gzip header (not used when writing a gzip file) */
  this.done       = false;
}

module.exports = GZheader;

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
smock-0.1.268 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.267 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.266 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.265 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.264 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.263 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.262 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.261 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.260 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.259 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.258 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.256 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.255 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.254 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.253 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.252 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.251 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.250 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.249 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.247 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js