Re: Basic Compression Library
- Posted by petelomax Sep 16, 2011
- 1183 views
A couple of weeks ago I was tasked with restoring/creating sage accounting backup files, not that I had any inside information so it was all a bit of a reverse engineering job.
I had an argument with zlib (on which I think bcl is based) before finding a pkzip dll which worked a charm. The test was to compress/uncompress wholly-in-memory BLOBs, and I've written the uncompress via callbacks using sensibly-sized blocks, but not the compress yet. When/if I finish the latter (all in yukky C++ btw) I was planning on porting it to Eu.
NB: it would be a compress/uncompress routine that would work on files (already open for read/write at the correct location), or in-memory BLOBS, and NOT something you could just chuck a ".zip" or ".rar" etc file at.
Just letting you know my plans, no promises or timescales.
Regards, Pete