I was meaning to decompress a file, but I just don’t really understand the zlib api, and the zlib manual isn’t helping much…
I’m trying to create a loader for .xp files from an ascii drawing app called REXPaint. I know the file I want to decompress is compressed using gzip, according to the documentation:
The .xp files are deflated with zlib (specifically they are gzipped files created via gzofstream);
Can someone explain to me how to use zlib for this?