Question: Is there any way in Minizip to extract files directly from a buffer? Normally you would use a `unzFile` instance, but that's not an option for me (I get the zipped data directly in a buffer, I don't read it from disk).

Answer: 
From [the authors page](http://www.winimage.com/zLibDll/minizip.html):

> 
> Justin Fletcher wrote a very simple implementation of a memory access method for the ioapi code ([ioapi\_mem\_c.zip](http://www.winimage.com/zLibDll/ioapi_mem_c.zip)). 
> 
> 
>
You could instead use libarchive which is capable of this.