先放上文件名表的格式- b- J, O4 T. c4 f* b' C1 F
00 00 00 00 00 52 49 45 01 12 16 FileName 0C 00 00 00 12 03 00 00 01
* w( P! d2 M q4 @' x00 01 00 00 00 52 49 45 01 12 10 FileName 29 03 00 00 23 01 00 00 01
- `( F% T" U4 f# M, N1 Y, u' v/ J; |# @( U
for each file
5 w+ U8 x8 [( h{* Q! d, b! Q0 m/ g! Q* N5 L
0x00 1byte/ j+ Z3 ^2 q7 E
file_idx 4bytes: D3 N% N% g0 S: q: r h2 q
magic_number 5bytes (0x52 0x49 0x45 0x01 0x12)
& H: Z1 k6 r) [( Y0 ` file_name_length 1byte
; ]9 U( U5 Y8 k6 j& H9 D file_name nbytes) \2 ^8 u# ~$ R6 R. ]/ v3 t
offset 4bytes% i; D- G( P+ n! a0 {
unzipped_size 4bytes% ?6 n4 Z& z9 c3 t0 O
} |