mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-08 05:27:04 +00:00
[PR #205] Add zip64 support for ZipArchive extraction #894
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/205
State: closed
Merged: Yes
I've taken a first cut at some limited zip64 support. It is extract only and only on the Archive API at this point.
Note: I'm casting 8 byte values to
longinstead of supporting the fullulongas it simplifies the implementation quite a bit. Things likeReader.Seektake alongdirectly, it's easy enough to cover that with multiple reads but I ended up backing away as it made the change much larger for minimal benefit (9 Exabyte archive size limitation instead of 18 etc). Also CLS compliance means we can't exposeulong. More than happy to revisit that if required.