1export default function ZStream() {
3 this.input = null; // JS specific, because we have no pointers
5 /* number of bytes available at input */
7 /* total number of input bytes read so far */
9 /* next output byte should be put there */
10 this.output = null; // JS specific, because we have no pointers
12 /* remaining free space at output */
14 /* total number of bytes output so far */
16 /* last error message, NULL if no error */
17 this.msg = ''/*Z_NULL*/;
18 /* not visible by applications */
20 /* best guess about the data type: binary or text */
21 this.data_type = 2/*Z_UNKNOWN*/;
22 /* adler32 value of the uncompressed data */