欢迎来到蓝梦软件下载中心!
免责声明:本站软件仅用于恢复和销毁存储介质数据,如果涉及个人隐私等问题,请使用者自行承担,使用软件默认同意本声明!
Q Q:1731278955
传真:0510-82737376
手机:13400027332
E-mail:1731278955@qq.com

技术文章
您所在的位置:首页 > 技术文章 >

ZIP压缩文件数据结构解析十四



作者: 来源: 日期:2018/1/7 7:19:21 人气:6 

  (OS400) 0x0065      2 bytes       Tag for this "extra" block type

          TSize       2 bytes       Size for the following data block

          ID          4 bytes       EBCDIC "I400" 0xC9F4F0F0 or

                                    "T4MV" for TargetFour

          (var)       TSize-4       Attribute data

          Third-party Mappings:

         -ZipIt Macintosh Extra Field (long) (0x2605):

          The following is the layout of the ZipIt extra block 

          for Macintosh. The local-header and central-header versions 

          are identical. This block must be present if the file is 

          stored MacBinary-encoded and it should not be used if the file 

          is not stored MacBinary-encoded.

          Value         Size        Description

          -----         ----        -----------

  (Mac2)  0x2605        Short       tag for this extra block type

          TSize         Short       total data size for this block

          "ZPIT"        beLong      extra-field signature

          FnLen         Byte        length of FileName

          FileName      variable    full Macintosh filename

          FileType      Byte[4]     four-byte Mac file type string

          Creator       Byte[4]     four-byte Mac creator string

         -ZipIt Macintosh Extra Field (short, for files) (0x2705):

          The following is the layout of a shortened variant of the

          ZipIt extra block for Macintosh (without "full name" entry).

          This variant is used by ZipIt 1.3.5 and newer for entries of

          files (not directories) that do not have a MacBinary encoded

          file. The local-header and central-header versions are identical.

          Value         Size        Description

          -----         ----        -----------

  (Mac2b) 0x2705        Short       tag for this extra block type

          TSize         Short       total data size for this block (12)

          "ZPIT"        beLong      extra-field signature

          FileType      Byte[4]     four-byte Mac file type string

          Creator       Byte[4]     four-byte Mac creator string

          fdFlags       beShort     attributes from FInfo.frFlags,

                                    may be omitted

          0x0000        beShort     reserved, may be omitted

         -ZipIt Macintosh Extra Field (short, for directories) (0x2805):

          The following is the layout of a shortened variant of the

          ZipIt extra block for Macintosh used only for directory

          entries. This variant is used by ZipIt 1.3.5 and newer to 

          save some optional Mac-specific information about directories.

          The local-header and central-header versions are identical.

          Value         Size        Description

          -----         ----        -----------

  (Mac2c) 0x2805        Short       tag for this extra block type

          TSize         Short       total data size for this block (12)

          "ZPIT"        beLong      extra-field signature

          frFlags       beShort     attributes from DInfo.frFlags, may

                                    be omitted

          View          beShort     ZipIt view flag, may be omitted

          The View field specifies ZipIt-internal settings as follows:

          Bits of the Flags:

              bit 0           if set, the folder is shown expanded (open)

                              when the archive contents are viewed in ZipIt.

              bits 1-15       reserved, zero;