offset | Permission header level 1 or 2 |
00 | Extended header identifier |
01 | Permission(L) |
02 | Permission(H) |
03 | Size of next extended header(L) |
04 | Size of next extended header(H) |
+0 | +1 | +2 | +3 | +4 | +5 | +6 | +7 | +8 | +9 | +A | +B | +C | +D | +E | +F | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | ||
0x0000 | 32 | 00 | 2D | 6C | 68 | 30 | 2D | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | A1 | 2 | . | - | l | h | 0 | - | . | . | . | . | . | . | . | . | ¡ | |
0x0010 | 24 | 36 | 3D | 20 | 02 | 00 | 00 | 55 | 05 | 00 | 00 | AE | DE | 07 | 00 | 01 | $ | 6 | = | . | . | U | . | . | ® | Þ | . | ||||||
0x0020 | 74 | 65 | 73 | 74 | 05 | 00 | 50 | A4 | 81 | 07 | 00 | 51 | 00 | 00 | E9 | 03 | t | e | s | t | . | P | ¤ | | . | Q | . | . | é | ||||
0x0030 | 00 | 00 | 00 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | . | - | - | - | - | - | - | - | - | - | - | - | - | - |
Extended header identifier |
This is the identifier for specifying an extended header.
You must set 0x40 in permission header. |
Permission |
This is Permission of compressed file.
In the foregoing sample, permission is 0x81A4 which means a normal file
and only owner can write this file
and anyone can read this file. |
Size of next extended header |
This is the byte count of following extended header.
Set this field as 0, when there is not following extended header.
Size of next extended header is 0x0007 in the foregoing sample. |
offset | UID GID header level 1 or 2 |
00 | Extended header identifier |
01 | Group ID(L) |
02 | Group ID(H) |
03 | User ID(L) |
04 | User ID(H) |
05 | Size of next extended header(L) |
06 | Size of next extended header(H) |
+0 | +1 | +2 | +3 | +4 | +5 | +6 | +7 | +8 | +9 | +A | +B | +C | +D | +E | +F | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | ||
0x0000 | 32 | 00 | 2D | 6C | 68 | 30 | 2D | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | A1 | 2 | . | - | l | h | 0 | - | . | . | . | . | . | . | . | . | ¡ | |
0x0010 | 24 | 36 | 3D | 20 | 02 | 00 | 00 | 55 | 05 | 00 | 00 | AE | DE | 07 | 00 | 01 | $ | 6 | = | . | . | U | . | . | ® | Þ | . | ||||||
0x0020 | 74 | 65 | 73 | 74 | 05 | 00 | 50 | A4 | 81 | 07 | 00 | 51 | 00 | 00 | E9 | 03 | t | e | s | t | . | P | ¤ | | . | Q | . | . | é | ||||
0x0030 | 00 | 00 | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | . | . | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Extended header identifier |
This is the identifier for specifying an extended header.
You must set 0x51 in UID GID header. |
Group ID | This is a identifier of the group which is allowed the access to the compressed file. Group ID is 0x0000 which means "wheel", in the foregoing sample. |
User ID |
This is a identifier of the owner of the compressed file.
User ID is 0x03E9(1001), in the foregoing sample. |
Size of next extended header |
This is the byte count of following extended header.
Set this field as 0, when there is not following extended header.
Size of next extended header is 0x0007 in the foregoing sample. |
offset | Group name header level 1 or 2 |
Description |
00 | Extended header identifier |
This is the identifier for specifying an extended header.
You must set 0x52 in Group name header. |
01 | Group name(1) |
This is a name of a group that is allowed the access to the compressed file. |
?? | ... | |
size - 3 | Group name(end) | |
size - 2 | Size of next extended header(L) |
This is the byte count of following extended header.
Set this field as 0, when there is not following extended header. |
size - 1 | Size of next extended header(H) |
offset | User name header level 1 or 2 |
Description |
00 | Extended header identifier |
This is the identifier for specifying an extended header.
You must set 0x53 in User name header. |
01 | User name(1) |
This is a name of file owner. |
?? | ... | |
size - 3 | User name(end) | |
size - 2 | Size of next extended header(L) |
This is the byte count of following extended header.
Set this field as 0, when there is not following extended header. |
size - 1 | Size of next extended header(H) |
offset | UNIX time stamp header level 1 |
00 | Extended header identifier |
01 | Last modified time(LL) |
02 | Last modified time(LH) |
03 | Last modified time(HL) |
04 | Last modified time(HH) |
05 | Size of next extended header(L) |
06 | Size of next extended header(H) |
+0 | +1 | +2 | +3 | +4 | +5 | +6 | +7 | +8 | +9 | +A | +B | +C | +D | +E | +F | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | ||
0x0000 | 1D | 08 | 2D | 6C | 68 | 30 | 2D | 18 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | DC | - | l | h | 0 | - | . | . | . | . | . | . | . | Ü | ||||
0x0010 | 59 | F2 | 2C | 20 | 01 | 04 | 74 | 65 | 73 | 74 | 00 | 00 | 55 | 05 | 00 | 00 | Y | ò | , | t | e | s | t | . | . | U | . | . | |||||
0x0020 | DF | DB | 05 | 00 | 50 | A4 | 81 | 07 | 00 | 51 | 00 | 00 | E9 | 03 | 07 | 00 | ß | Û | . | P | ¤ | | . | Q | . | . | é | . | |||||
0x0030 | 54 | A1 | 24 | 36 | 3D | 00 | 00 | -- | -- | -- | -- | -- | -- | -- | -- | -- | T | ¡ | $ | 6 | = | . | . | - | - | - | - | - | - | - | - | - |
Extended header identifier |
This is the identifier for specifying an extended header.
You must set 0x54 in UNIX time stamp header. |
Last modified time. |
This is the count of the elapsed seconds
from 0:0:0 on january 1 1970 UTC to the last modified time of file.
When the time zone is not correctly set up,
you can interconvert with an uncertainty of maximum of 24 hours local time and UTC.
Last modified time is 16:28:19 on Jul 6, 2002 in the foregoing sample. |
Size of next extended header |
This is the byte count of following extended header.
Set this field as 0, when there is not following extended header.
Size of next extended header is 0x0000 which means that there is no following extended header. |