I am completely new to zLib and I am confused on how to use it. This is what I am trying to do using c++, but without writing to disk, so using a buffer or something:
Take a vector of integers stored in an std::vector print it all out in a text file with spaces in between each element. Compress it using zLib then save the size of that compressed file in bytes to an integer variable later used for computation and whatever.
Any help is appreciated, thanks :)