[
  {
    "Id": "1119659",
    "ThreadId": "466784",
    "Html": "This is the code i am trying to run:<br />\n<pre><code>DeflateStream.UncompressBuffer(File.ReadAllBytes(&quot;orig.dat&quot;))</code></pre>\n\nThe contents of &quot;orig.dat&quot; are as follows:<br />\n<pre><code>78 DA 2D CA 41 0E 80 20 0C 05 D1 BD 87 F1 4E A4\n7E A4 A1 50 D2 56 BD BE 01 5D BE C9 50 32 D2 36\n76 67 DE 20 A0 30 ED 4C BE 9C D5 AA 70 8E 5F 17\n24 52 AF B0 C5 C2 C3 E0 3E CB 72 C3 C1 94 E4 7B\nF5 86 3D E0 B3 C4 E4 0B 83 D0 26 19</code></pre>\n\nWhat i get:<br />\n<pre><code>Bad state (invalid stored block lengths)</code></pre>\n\nWhat i expected:<br />\n<pre><code>carcomp.sii\nelectronics.sii\nforklifts.sii\nfueltanker.sii\nhipresstank.sii\nmedicals.sii\noverweight.sii</code></pre>\n\n(Note, each line break in there is a single line feed (10) A.K.A &quot;\\n&quot; character.\r<br />\n<br />\nI have been pulling my hair all day with this problem. Using QuickBMS to check the compression it works as expected with algorithms 1, 167 and 170 which are:<br />\n<pre><code>    COMP_ZLIB,          // RFC 1950\n    COMP_UNZIP_DYNAMIC,\n    COMP_ZLIB_NOERROR,</code></pre>\n\nWhile I don't expect the reader to be familiar with QuickBMS i wanted to make sure it wasn't me who was wrong here, trying to deflate non ZLIB data.\r<br />\n<br />\nI appreciate any help i can get with this, i really don't want to give this up.<br />\n",
    "PostedDate": "2013-11-07T03:10:16.473-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]