julienr / libzip-android

libzip port for Android NDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Writing new file inside zip

rahulk11 opened this issue · comments

Hi,
I am trying to write a new file inside zip. I am able to create the file but it's empty. How can i write data to this file? I am using stable branch.

I've never tried to use this to write files, I just used it to read, so I'm not sure...

It's a bit hard to tell without example code though. Also, it would be nice to test the same code against the non-android libzip to see if it's a libzip-android issue or just a libzip issue.

Hey, thanks for replying. I got it working, so, never mind.