Answer the question
In order to leave comments, you need to log in
Boost zlib and char*. How to unpack and pack a char array?
You need to use zlib from boost to pack and unpack the char* array. The input is char* and length. length is specified explicitly since the char array can be null bytes, and this is not the end. Waiting for suggestions). I've been toiling for the second day now - I can't figure out a normal solution, I don't want to shoot myself in the foot).
Answer the question
In order to leave comments, you need to log in
If you want a normal solution - use a simple zlib. Usage examples at www.zlib.net/zlib_how.html
boost serialization or what does boost have to do with it? With serialization+zlib "everything is very simple".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question