ZipEngine WriteStream

BlitzMax Forums/BlitzMax Programming/ZipEngine WriteStream

siread(Posted 2011) [#1]
I want my save files to be zipped but I want to write them straight to a zip file rather than saving to disk and zipping it.

Is it possible to create a stream in memory and write it directly to a zip using ZipEngine? An example would be much appreciated. :)


Grisu(Posted 2011) [#2]
Hi!

GMan's Zip module should be all you need.
You can grab it here:
http://www.gprogs.com/viewtopic.php?id=28

Look inside the zipdemo.bmx example... "addstream" command.

Grisu


siread(Posted 2011) [#3]
Cool. Got it. :)