Re: Cocoa framework or Object class to uncompress files
Re: Cocoa framework or Object class to uncompress files
- Subject: Re: Cocoa framework or Object class to uncompress files
- From: Quincey Morris via Cocoa-dev <email@hidden>
- Date: Mon, 24 Oct 2022 19:50:38 -0700
No. There’s no solution there. The Archive framework makes uncompressing of raw
data easy, including the compression format that’s normally used inside .zip
files, but it doesn’t actually read .zip file format. The file format and the
compression algorithm are, in effect, unrelated to each other.
It’s not extremely hard to read the .zip file format directly, though there’s
not really a single standard of which parts of the spec actually need to be
implemented. I implemented something based on this:
https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
but the implementation is not mine to give away, sorry.
> On Oct 24, 2022, at 19:19, Marco S Hyman via Cocoa-dev
> <email@hidden> wrote:
>
>> I'm hoping there's a built-in solution or framework that I'm just
>> overlooking.
>
> Guess: The Apple Archive framework
>
> https://developer.apple.com/documentation/applearchive
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden