{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "not a bug.",
    "ClosedDate": "2009-02-18T19:38:59.73-08:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "First: Thanks for a nice library.\nHowever I have some problems inflating a few streams.\nThe attached file is taken from a stream that contains Zlib-Compressed data (which I try to decompress with Ionic.Zlib.ZlibStream), but it doesn't successfully decompress the data.\nDecompression always quits with:\nIonic.Zlib.ZlibException: Bad state (unknown compression method)\n   bei Ionic.Zlib.InflateManager.Inflate(ZlibCodec z, Int32 f)\n   bei Ionic.Zlib.ZlibCodec.Inflate(Int32 f)\n   bei Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)\n   bei Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)\n \nIf I try to inflate the stream directly with zlib it inflates correctly without any problems.\n \nFrom looking at the binary data I might suspect that the data has a compression method that simply means: Uncompressed\n \nIs it possible to fix that bug/ add support for the used compression method?",
    "LastUpdatedDate": "2013-05-16T05:32:31.043-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2009-02-16T08:41:08.117-08:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "Problem with Inflating Stream",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 7094
  },
  "FileAttachments": [
    {
      "FileId": 1736,
      "FileName": "temp.bin",
      "DownloadUrl": ".\\1736"
    }
  ],
  "Comments": [
    {
      "Message": "let me look into it!",
      "PostedDate": "2009-02-16T20:42:46.423-08:00",
      "Id": -2147483648
    },
    {
      "Message": "I'm glad you find DotNetZip useful.\r\n\r\nThe attached file does not appear to be a valid compressed stream.\r\n\r\nThe ZlibStream class in DotNetZip is reporting that the compression method stored with that stream is 14.  Deflate is 8, and is the only method supported by Zlib. (either compressing or decompressing)\r\n\r\n\r\nI don't natively read \"DEFLATE\", but I would expect a compressed stream to look, to my eyes, like a stream of random bytes.  You suggested that maybe it is uncompressed data.  The file you sent me looks like neither a compressed data stream  nor a stream of uncompressed ASCII.  It is something else.\r\n\r\nYou said that Zlib can inflate it. I am very surprised at that.  Which tool did you use to inflate the file?\r\n",
      "PostedDate": "2009-02-17T00:31:16.847-08:00",
      "Id": -2147483648
    },
    {
      "Message": "The data in the stream is supposed binary data that contains some parts of directly visible ASCII. But the major parts are likely binary data. Unfortunatelly I only have a few of these cases and I did not produce them myself. And all others afaik should contain ONLY pure binary data.\r\nBut if you look at it it is clear that the contents are no stream of random bytes, hence my assumption that the content might just be plain data written through zlib somehow.\r\n\r\nSome time ago I had a .Net Wrapper Library for ZLIB that I used in my application and with that I could decompress the stream (aka it returned a correct result I was expecting coming from it). However I had to drop it because I wanted a purely managed solution and afair the library did not support streams but only files which is unsiutable for my situation.\r\nI can't seem to find it anymore (just did some short tests), but am pretty sure it was just a (very) simple wrapper around zlib.",
      "PostedDate": "2009-02-17T01:19:29.43-08:00",
      "Id": -2147483648
    },
    {
      "Message": "Please close/delete the issue. I tried some more things and found out why it didn't work. The problem was that the contents weren't compressed at all (the temp.bin is incorrectly dumped, too).\r\nThe zlib I used obviously worked because it just returned the original stream without doing anything on it...\r\nSorry for bothering you...",
      "PostedDate": "2009-02-17T02:09:08.323-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2009-02-18T19:38:59.73-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:44:29.413-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:32:31.043-07:00",
      "Id": -2147483648
    }
  ]
}