📄 unzipdate.h
字号:
struct huft {
uch e; /* number of extra bits or operation */
uch b; /* number of bits in this code or subcode */
union {
ush n; /* literal, length base, or distance base */
struct huft *t; /* pointer to next level of table */
} v;
};
////////////////////////////////////
typedef struct UnZipDate
{
BYTE *source1;
BYTE *dest1;
DWORD sourceLen1;
DWORD destLen1;
DWORD inSize;
DWORD outSize;
int errorNumber;
long header_bytes;
int method; // = DEFLATED;/* compression method */
int verbose;// = 0; /* be verbose (-v) */
long bytes_in; /* number of input bytes */
long bytes_out; /* number of output bytes */
unsigned insize; /* valid bytes in inbuf */
unsigned inptr; /* index of next byte to be processed in inbuf */
unsigned outcnt; /* bytes in output buffer */
ulg static_crc;
ulg bb; /* bit buffer */
unsigned bk; /* bits in bit buffer */
int lbits; // = 9; /* bits in base literal/length lookup table */
int dbits; // = 6; /* bits in base distance lookup table */
unsigned hufts; /* track memory usage */
DECLARE(uch, inbuf, INBUFSIZ +INBUF_EXTRA);
DECLARE(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
DECLARE(ush, d_buf, DIST_BUFSIZE);
DECLARE(uch, window, 2L*WSIZE);
#ifndef MAXSEG_64K
DECLARE(ush, tab_prefix, 1L<<BITS);
#else
DECLARE(ush, tab_prefix0, 1L<<(BITS-1));
DECLARE(ush, tab_prefix1, 1L<<(BITS-1));
#endif
}UnZipDate;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -