Greetings
It sounds easy, but it's giving me a hard time. I am trying to create a method that inputs a string then return it compressed(deflated) using zlib.h (the one from zlib.net)
I've read the zlib.h a couple times, no success :/
I think I need to use the deflateInit2() function, but woah, look at its complex definition:
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
(strategy), ZLIB_VERSION, (int)sizeof(z_stream))
Anyone could put me on the right track please?
Thank you!