zoukankan      html  css  js  c++  java
  • zip 格式解析

    1、格式

    https://pkware.cachefly.net/webdocs/APPNOTE/APPNOTE-6.2.0.txt 官方文档

    https://blog.csdn.net/hp910315/article/details/77717746 包含图解,但不是最新版本的格式

    https://blog.csdn.net/a200710716/article/details/51644421 包含样例

    https://blog.csdn.net/lianghongge/article/details/6990204 包含zip64,格式解析,英文说明

    2、踩坑

    zip和zip64的区别,单文件超过4G时用zip64

    JS库 jszip@2 的解析有问题,主要是方法 readBlockZip64EndOfCentral 在解析zip64的end of the Zip 64 central directory扩展字段时index偏移量不对,可参考上面的链接

    JS库xmldom代码有很多地方过不了sonar扫描,没细看但确实存在一些问题,拿来解析xml的话要注意。(docxtemlater读写docx里插入图片就会用到它)

  • 相关阅读:
    C++防止头文件反复包括
    yppasswd, ypchfn, ypchsh
    yes
    Yacc
    xxd
    xpdf -Portable Document Format(PDF)文件阅读器
    xinetd
    xargs
    x25, PF_X25
    write -在一个文件描述符上执行写操作
  • 原文地址:https://www.cnblogs.com/ccdat/p/10250034.html
Copyright © 2011-2022 走看看