[
  {
    "Id": "550436",
    "ThreadId": "242062",
    "Html": "\r\n<p>Hello I'm using ZlibStream to decompress data that comes by network from server.</p>\r\n<p>I receive multiple packets.</p>\r\n<p>Each packet is compressed by zLib stream (the server is native and I can't change anything there).</p>\r\n<p>Each packet can be docompressed separatelly.</p>\r\n<p>The porblem is that only first packet has header data required to decompress all data.</p>\r\n<p>Of cource I can wait untill all packets arrive and only then decopress all of them.</p>\r\n<p>But It would be better to decompress them on the fly (as soon as they arrive).</p>\r\n<p>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.</p>\r\n<p>Is it possible to fix that?</p>\r\n<p>Or may be I'm doing something wrong?</p>\r\n",
    "PostedDate": "2011-01-17T03:28:20.29-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "550598",
    "ThreadId": "242062",
    "Html": "\r\n<p>well, seems that I've fixed this myself.</p>\r\n<p>I've added&nbsp;</p>\r\n<p>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nomoreinput = false;</p>\r\n<p>at the begining of Read method of ZlibBaseStream.</p>\r\n",
    "PostedDate": "2011-01-17T08:08:14.933-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "563154",
    "ThreadId": "242062",
    "Html": "\r\n<p>hi petka,</p>\r\n<p>&nbsp;</p>\r\n<p>i want to do exactly what you did .. &nbsp;i try to add this line of code in the beginning of Read method but it always throw &quot;</p>\r\n<h2>Could not read block - no data! &nbsp;(position 0x00000000)</h2>\r\n<p>&quot;</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2011-02-09T00:37:26.713-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]