swc/crates/swc_bundler/tests/.cache/deno/2b4079a6a55d242f35211a78092b8ba2fcc7fd3e.ts

28 lines
877 B
TypeScript
Raw Normal View History

// Loaded from https://deno.land/x/compress@v0.3.8/zlib/zlib/zstream.ts
export default class ZStream {
/* next input byte */
input: Uint8Array | null = null; // JS specific, because we have no pointers
next_in = 0;
/* number of bytes available at input */
avail_in = 0;
/* total number of input bytes read so far */
total_in = 0;
/* next output byte should be put there */
output: Uint8Array | null = null; // JS specific, because we have no pointers
next_out = 0;
/* remaining free space at output */
avail_out = 0;
/* total number of bytes output so far */
total_out = 0;
/* last error message, NULL if no error */
msg = "" /*Z_NULL*/;
/* not visible by applications */
state: any = null;
/* best guess about the data type: binary or text */
data_type = 2 /*Z_UNKNOWN*/;
/* adler32 value of the uncompressed data */
adler = 0;
}