Sha256: f07c4662441af69def2851fc86ca0c425fc9d65b3c714ca474488f4d7ae59353

Contents?: true

Size: 1.3 KB

Versions: 9

Compression:

Stored size: 1.3 KB

Contents

module.exports = {

  /* Allowed flush values; see deflate() and inflate() below for details */
  Z_NO_FLUSH:         0,
  Z_PARTIAL_FLUSH:    1,
  Z_SYNC_FLUSH:       2,
  Z_FULL_FLUSH:       3,
  Z_FINISH:           4,
  Z_BLOCK:            5,
  Z_TREES:            6,

  /* Return codes for the compression/decompression functions. Negative values
  * are errors, positive values are used for special but normal events.
  */
  Z_OK:               0,
  Z_STREAM_END:       1,
  Z_NEED_DICT:        2,
  Z_ERRNO:           -1,
  Z_STREAM_ERROR:    -2,
  Z_DATA_ERROR:      -3,
  //Z_MEM_ERROR:     -4,
  Z_BUF_ERROR:       -5,
  //Z_VERSION_ERROR: -6,

  /* compression levels */
  Z_NO_COMPRESSION:         0,
  Z_BEST_SPEED:             1,
  Z_BEST_COMPRESSION:       9,
  Z_DEFAULT_COMPRESSION:   -1,


  Z_FILTERED:               1,
  Z_HUFFMAN_ONLY:           2,
  Z_RLE:                    3,
  Z_FIXED:                  4,
  Z_DEFAULT_STRATEGY:       0,

  /* Possible values of the data_type field (though see inflate()) */
  Z_BINARY:                 0,
  Z_TEXT:                   1,
  //Z_ASCII:                1, // = Z_TEXT (deprecated)
  Z_UNKNOWN:                2,

  /* The deflate compression method */
  Z_DEFLATED:               8
  //Z_NULL:                 null // Use -1 or null inline, depending on var type
};

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
brwy_rails-0.0.6 test/dummy/node_modules/pako/lib/zlib/constants.js
brwy_rails-0.0.5 test/dummy/node_modules/pako/lib/zlib/constants.js
brwy_rails-0.0.4 test/dummy/node_modules/pako/lib/zlib/constants.js
brwy_rails-0.0.3 test/dummy/node_modules/pako/lib/zlib/constants.js
brwy_rails-0.0.2 test/dummy/node_modules/pako/lib/zlib/constants.js
brwy_rails-0.0.1 test/dummy/node_modules/pako/lib/zlib/constants.js
gulp_assets-1.0.0.pre.5 template/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/constants.js
gulp_assets-1.0.0.pre.4 template/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/constants.js
gulp_assets-1.0.0.pre.3 template/node_modules/node-libs-browser/node_modules/browserify-zlib/node_modules/pako/lib/zlib/constants.js