Offset | Bytes | Description (ASCII) | Value |
00 | 03 | "BZh" (Signature) | 42 5A 68 |
03 | 01 | Block Size 01 - 09 (Kb) | 31 - 39 |
04 | 06 | SOS | 3141 5926 5359 |
10 | Compressed Data | ||
04 | CRC32 |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | "MSCF" (Signature) | 4S53 4346 |
04 | 04 | Reserved1 | 0000 0000 |
08 | 04 | Size of Archive (bytes) | |
0C | 04 | Reserved2 | 0000 0000 |
10 | 04 | Offset to Data | |
14 | 04 | Reserved3 | 0000 0000 |
18 | 01 | versionMinor | |
19 | 01 | versionMajor | 1 |
1A | 02 | Number of Folders | |
1C | 02 | Number of Files | |
1E | 02 | Flags | |
20 | 02 | Cabinet Set ID | |
22 | 02 | Cabinet Number in Set |
Offset | Bytes | Description (ASCII) | Value |
00 | 02 | (Signature) | C771 |
02 | 02 | Device Number | |
04 | 02 | Inode Number | |
06 | 02 | mode | |
08 | 02 | uid | |
0A | 02 | gid | |
0C | 02 | Number of Links | |
0E | 02 | Device major/minor | |
10 | 04 | mtime | |
14 | 02 | Size of Filename (NSize) | |
16 | 04 | File Size | |
1A | NSize | Filename |
Offset | Bytes | Description (ASCII) | Value |
00 | 08 | "!<arch>" 10 (Signature) | 213C 6172 6368 3E0A |
08 | 10 | "debian-binary " (Filename) | 6465 6269 616E 2D62 696E 6172 7920 2020 |
18 | 0C | mtime | |
24 | 06 | uid | |
2A | 06 | gid | |
30 | 08 | mode (Octal) | |
38 | 0A | "4 " (File Size) | 3420 2020 ... |
42 | 02 | Terminator | 60 0A |
Offset | Bytes | Description (ASCII) | Value |
00 | 02 | (Signature) | 1F8B |
02 | 01 | Compression Method | 08 |
03 | 01 | Flags | |
04 | 02 | mtime | |
05 | 01 | Extra Flags | |
06 | 01 | Operating System * | |
Optional Extra Headers | |||
Compressed Data | |||
04 | CRC32 | ||
04 | Uncompressed File Size |
Value | |
---|---|
1 | Amiga |
3 | Unix |
5 | Atari TOS |
7 | Macintosh |
255 | unknown |
Offset | Bytes | Description (ASCII) | Value |
00 | 01 | Header Size | 2C, 35 or 41 |
01 | 01 | Checksum | |
02 | 05 | "-lh5-" (Signature) | 2D 6C 68 35 2D |
07 | 04 | Compressed Size | |
0B | 04 | Uncompressed Size | |
0F | 04 | mtime | |
13 | 01 | File or Directory Attribute | |
14 | 01 | LHA Level Identifier | 00, 01 or 02 |
15 | 01 | Size of Filename (NSize) | |
16 | NSize | Filename | |
16+NSize | 02 | Uncompressed File CRC16 |
15 | 02 | Uncompressed File CRC16 | |
17 | 01 | Operating System * |
Value | |
---|---|
4D | "M" MS-Dos |
55 | "U" Unix |
57 | "W" Windows NT |
6D | "m" Macintosh |
77 | "w" Windows 95/98 |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | (Signature) | 0422 4D18 |
04 | 03-0F | Frame Descriptor | |
Compressed Data | |||
04 | End of Frame | 0000 0000 | |
00-04 | Checksum |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | "LZIP" (Signature) | 4C5A 4950 |
04 | 01 | Version | 01 |
05 | 01 | Coded Dictionary Size | |
06 | Compressed Data | ||
04 | CRC32 | ||
08 | Uncompressed Size | ||
08 | Member Size |
Offset | Bytes | Description (ASCII) | Value |
00 | 01 | Flag | 5D |
01 | 04 | Dictionary Size | |
05 | 08 | Uncompressed Size or UINT64_MAX | FFFF FFFF FFFF FFFF |
0D | Compressed Data |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | 137 "LZO" (Signature) | 894C 5A4F |
04 | 05 | 0 13 10 26 10 (Magic) | 00 0D 0A 1A 0A |
09 | 02 | Version | |
0B | 02 | Version | |
0D | 02 | Version | |
0F | 01 | Compression Method | |
10 | 01 | Compression Level | |
11 | 04 | Flags | |
[15] | 04 | Filter (if Flags & 0x0800) | |
15 [19] | 04 | Mode | |
19 [1D] | 04 | Mtime | |
1A [1E] | 01 | File Name Length | |
1B [1F] | 00-FF | File Name | |
04 | Checksum | ||
04 | Uncompressed Size | ||
04 | Compressed Size |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | "hsqs" (Signature) | 6873 7173 |
04 | 04 | inodes | |
08 | 04 | mkfs_time | |
0C | 04 | block_size | |
10 | 04 | fragments | |
12 | 02 | Compression Method | |
14 | 02 | block_log | |
16 | 02 | Flags | |
18 | 02 | ids | |
1A | 02 | versionMajor | |
1C | 02 | versionMinor | |
1E | 08 | root_inode | |
26 | 08 | bytes_used |
Offset | Bytes | Description (ASCII) | Value |
00 | 06 | 253 "7zXZ" 0 (Signature) | FD37 7A58 5A00 |
06 | 01 | Reserved | 00 |
07 | 01 | Flags | |
08 | 04 | CRC32 | |
0C | Compressed Data | ||
04 | CRC32 | ||
04 | Compressed Size * 4 | ||
02 | Flags | ||
02 | "YZ" (Magic) | 59 5A |
Offset | Bytes | Description (ASCII) | Value |
00 | 04 | "ZC" 1 0 (Signature 1.0) | 5A43 0100 |
04 | Files | ||
DOff | 02 | "zd" (Start of Directory) | 7A 64 |
DOff + 2 | 01 | Directory Compression Method* | 0 - 9 |
DOff + 3 | 01 | MetaData Follows | MDsz |
MDsz | MetaData | ||
DOff + 4 + MDsz | Manifests | ||
File Size - 8 | 08 | (Offset to Directory) | DOff |
Manifest Entry
Offset | Bytes | Attribute |
00 | 04 | Offset from start of ZAC file (Offset = 0, File is a Directory Name) |
04 | 04 | Compressed Size (bytes) |
08 | 04 | Uncompressed Size (bytes) |
0C | 04 | mode: file type and permission bits |
10 | 08 | mtime: last modification time (contents) |
18 | 08 | Reserved8 |
20 | 02 | Owner: User ID |
22 | 02 | Group: Group ID |
24 | 02 | Reserved2 |
26 | 01 | Compression Method* |
27 | 01 | Compression Level (if known) |
28 | 01 | Size of Filename (NSize) |
29 | NSize | Filename (for SymLinks, Offset is the Target Name) |
Value | |
---|---|
0 | None: Store |
1 | gzip |
2 | bzip2 |
3 | lzip |
4 | lz4 |
5 | lzma |
6 | xz |
6 | zstd |