need implementations of DEFLATE compression and decompression
Crossbones+ - Reputation: 1530
Posted 07 December 2012 - 03:33 PM
I did this once before and used deflate.h and deflate.c from Halibut, but now I need inflate as well. Looks like i could use tinf from here , but it would be nice if someone had put both together already as four standalone source files i.e. inflate.h, inflate.c, deflate.h, and deflate.c. It seems like this should exist somewhere but, haven't found it.
Moderators - Reputation: 10406
Crossbones+ - Reputation: 1343
Posted 09 December 2012 - 03:30 PM
Yes, I know about zlib and will use it if I have to but would rather not have to have a dependency on the whole thing because I just need in memory compression and decompression of a byte buffer, not zipping and unzipping with internal file directory structure,etc.
What are you talking about? zlib very small and does exactly that - byte buffer compression or decompression. It doesn't do anything with file or directory structure.