gzip

BlitzPlus Forums/BlitzPlus Programming/gzip

Zster(Posted 2005) [#1]
Hi

I need to open a gzip file (*.gz) and uncompress it to a bank in memory. I've searched posts and archives (even things like datafunk) and they all talk about compressing and uncompressing banks and writing to files but none of them actually read a *.gz file. I've messed around with the decls file and looked at the zlib.h but with no sucess so an example would be appreciated.

Thanks


Zster(Posted 2005) [#2]
Ok sorted it out just added

zip_read%(file%,buffer*,len%):"gzread"

to the zlib.decl file and it worked like a charm