⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 extra.fld

📁 完整的解压zip文件的源码。包含密码功能
💻 FLD
📖 第 1 页 / 共 3 页
字号:
          The following is the layout of the ZipIt extra block for Macintosh.          The local-header and central-header versions are identical.          (Last Revision 19970130)          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):          ===================================          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 that          do not need a "full Mac filename" record.          The local-header and central-header versions are identical.          (Last Revision 19980903)          Value         Size            Description          -----         ----            -----------  (Mac2b) 0x2705        Short           tag for this extra block type          TSize         Short           total data size for this block          "ZPIT"        beLong          extra-field signature          FileType      Byte[4]         four-byte Mac file type string          Creator       Byte[4]         four-byte Mac creator string         -Info-ZIP Macintosh Extra Field (new):          ====================================          The following is the layout of the (new) Info-ZIP extra          block for Macintosh, designed by Dirk Haase.          All values are in little-endian.          (Last Revision 19981005)          Local-header version:          Value         Size            Description          -----         ----            -----------  (Mac3)  0x334d        Short           tag for this extra block type ("M3")          TSize         Short           total data size for this block          BSize         Long            uncompressed finder attribute data size          Flags         Short           info bits          fdType        Byte[4]         Type of the File (4-byte string)          fdCreator     Byte[4]         Creator of the File (4-byte string)          (CType)       Short           compression type          (CRC)         Long            CRC value for uncompressed MacOS data          Attribs       variable        finder attribute data (see below)          Central-header version:          Value         Size            Description          -----         ----            -----------  (Mac3)  0x334d        Short           tag for this extra block type ("M3")          TSize         Short           total data size for this block          BSize         Long            uncompressed finder attribute data size          Flags         Short           info bits          fdType        Byte[4]         Type of the File (4-byte string)          fdCreator     Byte[4]         Creator of the File (4-byte string)          The third bit of Flags in both headers indicates whether          the LOCAL extra field is uncompressed (and therefore whether CType          and CRC are omitted):          Bits of the Flags:              bit 0           if set, file is a data fork; otherwise unset              bit 1           if set, filename will be not changed              bit 2           if set, Attribs is uncompressed (no CType, CRC)              bit 3           if set, date and times are in 64 bit                              if zero date and times are in 32 bit.              bit 4           if set, timezone offsets fields for the native                              Mac times are omitted (UTC support deactivated)              bits 5-15       reserved;          Attributes:          Attribs is a Mac-specific block of data in little-endian format with          the following structure (if compressed, uncompress it first):          Value         Size            Description          -----         ----            -----------          fdFlags       Short           Finder Flags          fdLocation.v  Short           Finder Icon Location          fdLocation.h  Short           Finder Icon Location          fdFldr        Short           Folder containing file          FXInfo        16 bytes        Macintosh FXInfo structure            FXInfo-Structure:                fdIconID        Short                fdUnused[3]     Short       unused but reserved 6 bytes                fdScript        Byte        Script flag and number                fdXFlags        Byte        More flag bits                fdComment       Short       Comment ID                fdPutAway       Long        Home Dir ID          FVersNum      Byte            file version number                                        may be not used by MacOS          ACUser        Byte            directory access rights          FlCrDat       ULong           date and time of creation          FlMdDat       ULong           date and time of last modification          FlBkDat       ULong           date and time of last backup            These time numbers are original Mac FileTime values (local time!).            Currently, date-time width is 32-bit, but future version may            support be 64-bit times (see flags)          CrGMTOffs     Long(signed!)   difference "local Creat. time - UTC"          MdGMTOffs     Long(signed!)   difference "local Modif. time - UTC"          BkGMTOffs     Long(signed!)   difference "local Backup time - UTC"            These "local time - UTC" differences (stored in seconds) may be            used to support timestamp adjustment after inter-timezone transfer.            These fields are optional; bit 4 of the flags word controls their            presence.          Charset       Short           TextEncodingBase (Charset)                                        valid for the following two fields          FullPath      variable        Path of the current file.                                        Zero terminated string (C-String)                                        Currently coded in the native Charset.          Comment       variable        Finder Comment of the current file.                                        Zero terminated string (C-String)                                        Currently coded in the native Charset.         -Acorn SparkFS Extra Field:          =========================          The following is the layout of David Pilling's SparkFS extra block          for Acorn RISC OS.  The local-header and central-header versions are          identical.  (Last Revision 19960922)          Value         Size            Description          -----         ----            -----------  (Acorn) 0x4341        Short           tag for this extra block type          TSize         Short           total data size for this block          "ARC0"        Long            extra-field signature          LoadAddr      Long            load address or file type          ExecAddr      Long            exec address          Attr          Long            file permissions          Zero          Long            reserved; always zero          The following bits of Attr are associated with the given file          permissions:                bit 0           user-writable ('W')                bit 1           user-readable ('R')                bit 2           reserved                bit 3           locked ('L')                bit 4           publicly writable ('w')                bit 5           publicly readable ('r')                bit 6           reserved                bit 7           reserved         -VM/CMS Extra Field:          ==================          The following is the layout of the file-attributes extra block for          VM/CMS.  The local-header and central-header versions are          identical.  (Last Revision 19960922)          Value         Size            Description          -----         ----            ----------- (VM/CMS) 0x4704        Short           tag for this extra block type          TSize         Short           total data size for this block          flData        variable        file attributes data          flData is an uncompressed fldata_t struct.         -MVS Extra Field:          ===============          The following is the layout of the file-attributes extra block for          MVS.  The local-header and central-header versions are identical.          (Last Revision 19960922)          Value         Size            Description          -----         ----            -----------  (MVS)   0x470f        Short           tag for this extra block type          TSize         Short           total data size for this block          flData        variable        file attributes data          flData is an uncompressed fldata_t struct.         -PKWARE Unix Extra Field:          ========================          The following is the layout of PKWARE's Unix "extra" block.          It was introduced with the release of PKZIP for Unix 2.50.          Note: all fields are stored in Intel low-byte/high-byte order.          (Last Revision 19980901)          This field has a minimum data size of 12 bytes and is only stored          as local extra field.          Value         Size            Description          -----         ----            ----------- (Unix0)  0x000d        Short           Tag for this "extra" block type          TSize         Short           Total Data Size for this block          AcTime        Long            time of last access (UTC/GMT)          ModTime       Long            time of last modification (UTC/GMT)          UID           Short           Unix user ID          GID           Short           Unix group ID          (var)         variable        Variable length data field          The variable length data field will contain file type          specific data.  Currently the only values allowed are          the original "linked to" file names for hard or symbolic links.          The fixed part of this field has the same layout as Info-ZIP's          abandoned "Unix1 timestamps & owner ID info" extra field;          only the two tag bytes are different.         -PATCH Descriptor Extra Field:          ============================          The following is the layout of the Patch Descriptor "extra"          block.          Note: all fields stored in Intel low-byte/high-byte order.          Value         Size            Description          -----         ----            -----------  (Patch) 0x000f        Short           Tag for this "extra" block type          TSize         Short           Size of the total "extra" block          Version       Short           Version of the descriptor          Flags         Long            Actions and reactions (see below)          OldSize       Long            Size of the file about to be patched          OldCRC        Long            32-bit CRC of the file about to be patched          NewSize       Long            Size of the resulting file          NewCRC        Long            32-bit CRC of the resulting file          Actions and reactions          Bits          Description          ----          ----------------          0             Use for autodetection          1             Treat as selfpatch          2-3           RESERVED          4-5           Action (see below)          6-7           RESERVED          8-9           Reaction (see below) to absent file          10-11         Reaction (see below) to newer file          12-13         Reaction (see below) to unknown file          14-15         RESERVED          16-31         RESERVED          Actions          Action       Value          ------       -----          none         0          add          1          delete       2          patch        3          Reactions          Reaction     Value          --------     -----          ask          0          skip         1          ignore       2          fail         3         -Extended Timestamp Extra Field:          ==============================          The following is the layout of the extended-timestamp extra block.          (Last Revision 19970118)          Local-header version:          Value         Size            Description          -----         ----            -----------  (time)  0x5455        Short           tag for this extra block type          TSize         Short           total data size for this block          Flags         Byte            info bits          (ModTime)     Long            time of last modification (UTC/GMT)          (AcTime)      Long            time of last access (UTC/GMT)          (CrTime)      Long            time of original creation (UTC/GMT)          Central-header version:          Value         Size            Description          -----         ----            -----------  (time)  0x5455        Short           tag for this extra block type          TSize         Short           total data size for this block          Flags         Byte            info bits (refers to local header!)          (ModTime)     Long            time of last modification (UTC/GMT)          The central-header extra field contains the modification time only,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -