跳到主要内容

Claude Cage · 面向 Claude 的隔离开发环境,支持桌面工作台、多账号、远程部署与移动端连接。上游 Lee-xeo/Claude-Cage 完整源码镜像,非灵栈原创;主许可 MIT,第三方组件遵循各自许可。来源:https://github.com/Lee-xeo/Claude-Cage 。手动同步,不附带 Release 安装包。

浏览文件

zstream.js

24 行 · 823 B历史下载
1export default function ZStream() {
2 /* next input byte */
3 this.input = null; // JS specific, because we have no pointers
4 this.next_in = 0;
5 /* number of bytes available at input */
6 this.avail_in = 0;
7 /* total number of input bytes read so far */
8 this.total_in = 0;
9 /* next output byte should be put there */
10 this.output = null; // JS specific, because we have no pointers
11 this.next_out = 0;
12 /* remaining free space at output */
13 this.avail_out = 0;
14 /* total number of bytes output so far */
15 this.total_out = 0;
16 /* last error message, NULL if no error */
17 this.msg = ''/*Z_NULL*/;
18 /* not visible by applications */
19 this.state = null;
20 /* best guess about the data type: binary or text */
21 this.data_type = 2/*Z_UNKNOWN*/;
22 /* adler32 value of the uncompressed data */
23 this.adler = 0;
24}