Thread Index


From: Jan Weiß <>
Subject: Opening a memory buffer containing the data of a zip file
Date: Mon, 7 May 2012 09:54:28 +0200

Hi list!

I am using a library call that effectively results in me getting a buffer which 
contains the data of a zip file. (zip is used as the container format for 
OpenOffice documents.) 

In my prototype I just save that data to disk and open it with zip_open(). This 
appears to be a silly and roundabout way of doing things. I could do something 
weird like this, of course:
How to get file descriptor of buffer in memory?

… and then use zip_fdopen(), but I don’t like that either. 

Is there currently a way to do this cleanly?


Made by MHonArc.