weichsel / ZIPFoundation

Effortless ZIP Handling in Swift
MIT License
2.31k stars 255 forks source link

Ability to read data from archive given byte offset and size #274

Closed bitwisejb closed 10 months ago

bitwisejb commented 1 year ago

I have the need to read data from a compressed file without extracting the entire archive due to space constraints on a device.

I would like a method exposed on the archive that would allow the developer to specify and entry, offset, and size and get back a data object.