Closed startewho closed 10 months ago
when I partly download a zip file, I has know the compress format ,and I only want the compressed file part from the whole file. I can use the
file_offset+header_size
to get the file part start. also seems the #113 has the same need , so I make this pr.
I found the failed test is test_read_zip64_archive_mem
the reason is because the zip64.zip file 's Central directory structure and the Local File Header it has different value about the Extra field length
zip64.zip
so it does not support all zip64 extra.
Shoud I maybe add the header_size on the ZipEntry ,not the StoredZipEntry ?
ZipEntry
StoredZipEntry
Merging but I'm going to be making a few minor changes afterwards - thought it easier for me to do that than go back and forth requesting changes.
when I partly download a zip file, I has know the compress format ,and I only want the compressed file part from the whole file. I can use the
file_offset+header_size
to get the file part start. also seems the #113 has the same need , so I make this pr.
I found the failed test is test_read_zip64_archive_mem
the reason is because the
zip64.zip
file 's Central directory structure and the Local File Header it has different value about the Extra field lengthso it does not support all zip64 extra.
Shoud I maybe add the header_size on the
ZipEntry
,not theStoredZipEntry
?