[
  {
    "Id": "447259",
    "ThreadId": "213811",
    "Html": "<p>Noticed the &quot;AvailableInBytes=0, etc&quot; thing was fixed in 1.9, so downloaded it and put the dll in my project which has been throwing that exception left and right. However, It did not go away. What do I need to do to take advantage of the fix?</p>\r\n<p>Jim</p>",
    "PostedDate": "2010-05-25T12:05:59.307-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447313",
    "ThreadId": "213811",
    "Html": "<p>I don't know, off the top of my head, what thing you are talking about. Is there a workitem you can reference?</p>\r\n<p>Also, what version of the library are you using.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2010-05-25T14:18:51.723-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447542",
    "ThreadId": "213811",
    "Html": "<p>thes verson as stated above is 1.9 (DotNetZip v1.9)</p>\r\n<p>In the notable fixes section for this release on the download page is the following link:</p>\r\n<p><a href=\"http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=8679\"><span style=\"color:#3e62a6\">Zlib exception when compressed stream size is (multiple of buffer size) + header size +(0 to 7)</span></a></p>\r\n<p>I originally found out about the problem by finding the report the above link points to.</p>\r\n<p>Have removed the old dll from my project, inserted the 1.9 dll as a reference and re compiled.</p>\r\n<p>But still get the error.</p>",
    "PostedDate": "2010-05-26T04:13:28.563-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447564",
    "ThreadId": "213811",
    "Html": "<p>ok well if it's throwing exceptions left and right, send me a small snip of code that reproduces the problem.</p>",
    "PostedDate": "2010-05-26T04:48:54.69-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447575",
    "ThreadId": "213811",
    "Html": "<p>Using a database as the common point in a distributed set of applications. In the interests of speed and space am compressing what I store in the Sybase Image columns. So when another app needs to get it's work copy of the document it decompresses it. The following code is such a place:</p>\r\n<div style=\"color:black;background-color:white\">\r\n<pre><span style=\"color:blue\">byte</span>[] html = Ionic.Zlib.GZipStream.UncompressBuffer((<span style=\"color:blue\">byte</span>[])reader.GetValue(2));\r\n\r\n</pre>\r\n</div>\r\n<p>The error I get is Ionic.Zlib.ZlibException: Protocol error. AvailableBytesIn=0, expected 8</p>\r\n<p>The AvailableBytesIn value is always 0 never in the range 1-7 as reported in the Problem Report</p>\r\n<p>Jim</p>",
    "PostedDate": "2010-05-26T05:08:38.14-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447787",
    "ThreadId": "213811",
    "Html": "<p>Seems I was trying to feed it a 0 byte array.</p>",
    "PostedDate": "2010-05-26T11:30:59.953-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "447929",
    "ThreadId": "213811",
    "Html": "This discussion has been copied to a work item. Click <a href=\"http://dotnetzip.codeplex.com/WorkItem/View.aspx?WorkItemId=10941\">here</a> to go to the work item and continue the discussion.",
    "PostedDate": "2010-05-26T19:28:20.91-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]