admin管理员组文章数量:1531793
2024年4月24日发(作者:)
zip压缩包文件格式
原始文件
zip档案由PKZIP /解压缩软件组合产生的
PKWare公司创建。PKZIP项目与LHArc和ARJ
最好的压缩。
目录信息存储端的在存档文件中,每一个地方
档案从头;这头可以用
确定一个zip文件如:
偏移计数类型描述
0000h字符的ID = 4 'pk,03,04
0004h 1字版本需要提取档案
0006h 1字通用的位场(位图)
0文件是加密的
1 8k / 4K滑动字典用
2 - 3 / 2 Shannon-Fano树用
3-4闲置-内部使用5-15
邮编2定义如果
压缩方法是比其他
注:和1位
6型(爆)。
0008h 1字的压缩方法(见表0010)1个
000ah原DOS文件的日期/时间(见表0009)
000eh 1个32位?)
0012h 1 dword Compressed file size
0016h 1 dword Uncompressed file size
001Ah 1 word Length of filename
="LEN"
001Ch 1 word Length of extra field
="XLN"
001Eh "LEN" char path/filename
001Eh "XLN" char extra field
+"LEN"
After all the files, there comes the central directory structure.
(Table 0010)
PkZip compression types
0 - Stored / No compression
1 - Shrunk / LZW, 8K buffer, 9-13 bits with partial clearing
2 - Reduced-1 / Probalistic compression, lower 7 bits
3 - Reduced-2 / Probalistic compression, lower 6 bits
4 - Reduced-3 / Probalistic compression, lower 5 bits
5 - Reduced-4 / Probalistic compression, lower 4 bits
6 - Imploded / 2/3 Shanno-Fano trees, 4K/8K sliding dictionary
--- Central directory structure
The CDS is at the end of the archive and contains additional information
about the files stored within the archive.
OFFSET Count TYPE Description
0000h 4个字符的ID = 'pk,01、02
0004h 1字节版本的
0005h 1字节的主机操作系统了(见表0011)
0006h 1字节的最低版本需要提取
0007h 1字节的目标操作系统
上面看到的“主机操作系统”
0008h 1字通用的位标志
上面看到的“通用的位标志“
000ah 1字的压缩方法
版权声明:本文标题:zip压缩包文件格式1 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1713925841a378437.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论