I'm using MBS 16.3 or similar, and trying to use DecompressZLibMBS. It works 
great with "normal" Zip data, but I have a file that indicates the data was 
Deflated.

Without explaining everything - I know something about the Zip file format. The 
General Purpose bit flag is 0, and the compression method is 8, which means 
"The file is Deflated".

So I take the data after the file name, which in this case is 469 bytes (it all 
lines up) and I pass it to DecompressZLibMBS, with plenty of output size as a 
hint. I always get back error -3 (memory error).

First, how does DecompressZLibMBS know this is deflated data, and second, how 
would I inflate this?

(Note: I have tried using the inflate() code in C++, but with this data it 
still gives me the -3 error. I know the data is correct, my Mac easily unzips 
the ZIP file (it has a bunch of files in it).

Garth Hjelte
Sampler User


_______________________________________________
[email protected] mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to