MCPcopy Create free account
hub / github.com/TruthHun/BookStack / ZStream

Function ZStream

static/word2md/mammoth.browser.js:23561–23584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23559
23560
23561function ZStream() {
23562 /* next input byte */
23563 this.input = null; // JS specific, because we have no pointers
23564 this.next_in = 0;
23565 /* number of bytes available at input */
23566 this.avail_in = 0;
23567 /* total number of input bytes read so far */
23568 this.total_in = 0;
23569 /* next output byte should be put there */
23570 this.output = null; // JS specific, because we have no pointers
23571 this.next_out = 0;
23572 /* remaining free space at output */
23573 this.avail_out = 0;
23574 /* total number of bytes output so far */
23575 this.total_out = 0;
23576 /* last error message, NULL if no error */
23577 this.msg = ''/*Z_NULL*/;
23578 /* not visible by applications */
23579 this.state = null;
23580 /* best guess about the data type: binary or text */
23581 this.data_type = 2/*Z_UNKNOWN*/;
23582 /* adler32 value of the uncompressed data */
23583 this.adler = 0;
23584}
23585
23586module.exports = ZStream;
23587

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected