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.246 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.245 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.244 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.243 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.242 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.241 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.240 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.239 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.2 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.1 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.238 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.237 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.236 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.235 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.234 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.233 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.232 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.231 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.230 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js
smock-0.1.229 node_modules/webpack/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/gzheader.js