mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-11 12:46:49 +00:00
- Upgrade vendored noVNC library in static/js/novnc/ from 1.2.0 to 1.7.0 - Remove obsolete IE11 polyfills (promise.js, browser-es-module-loader) - Preserve custom app/styles/lite.css for embedded lite view - Update console-vnc-full.html stylesheets, modern icon set, and dialogs - Modernize console-vnc-full.html startup via UI.start() with Django context mapping - Dynamically resolve package.json and localization dictionaries via import.meta.url
24 lines
823 B
JavaScript
24 lines
823 B
JavaScript
export default function ZStream() {
|
|
/* next input byte */
|
|
this.input = null; // JS specific, because we have no pointers
|
|
this.next_in = 0;
|
|
/* number of bytes available at input */
|
|
this.avail_in = 0;
|
|
/* total number of input bytes read so far */
|
|
this.total_in = 0;
|
|
/* next output byte should be put there */
|
|
this.output = null; // JS specific, because we have no pointers
|
|
this.next_out = 0;
|
|
/* remaining free space at output */
|
|
this.avail_out = 0;
|
|
/* total number of bytes output so far */
|
|
this.total_out = 0;
|
|
/* last error message, NULL if no error */
|
|
this.msg = ''/*Z_NULL*/;
|
|
/* not visible by applications */
|
|
this.state = null;
|
|
/* best guess about the data type: binary or text */
|
|
this.data_type = 2/*Z_UNKNOWN*/;
|
|
/* adler32 value of the uncompressed data */
|
|
this.adler = 0;
|
|
}
|