c - How to insert type 0 block along with data in zlib -


i have insert uncompressed data in between compressed data bytes. type 0 header in zlib allows me that. how can ? clues ?

there no type 0 allowed in zlib header. there stored block type in deflate format used within zlib stream. zlib automatically use stored blocks if smaller same data compressed.


Comments