Hello I'm using ZlibStream to decompress data that comes by network from server.
I receive multiple packets.
Each packet is compressed by zLib stream (the server is native and I can't change anything there).
Each packet can be docompressed separatelly.
The porblem is that only first packet has header data required to decompress all data.
Of cource I can wait untill all packets arrive and only then decopress all of them.
But It would be better to decompress them on the fly (as soon as they arrive).
I tried to go through source code and looks like that ZlibStream caches somehow that input stream was once empty (when first packet was decompressed) and does not decopress anything.
Is it possible to fix that?
Or may be I'm doing something wrong?