函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zlib_deflate\deftree.c Create Date:2022-07-27 07:56:12
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Send a stored block

函数原型:void zlib_tr_stored_block(deflate_state *s, char *buf, ulg stored_len, int eof)

返回类型:void

参数:

类型参数名称
deflate_state *s
char *bufput block
ulgstored_lenlength of input block
inteofrue if this is the last block for a file
800  al bit length of compressed file 等于al bit length of compressed file 加3加7按位与7L的反
801  al bit length of compressed file 加等于length of input block 加4左移3位
803  copy_block(s, put block , (unsigned)length of input block , 1)
调用者
名称描述
zlib_tr_flush_blockDetermine the best encoding for the current block: dynamic trees, static* trees or store, and output the encoded block to the zip file. This function* returns the total compressed length for the file so far.
zlib_deflate