title: Python bz2 in c#
body: <p>I got several strings like :</p>
  
  <pre class="lang-none prettyprint-override"><code>BZh91AY&amp;SYA\xaf\x82\r\x00\x00\x01\x01\x80\x02\...
  </code></pre>
  
  <p>After googling a whlke, found that those seems to be Python bz2 encoded strings, since "BZh91AY" appears to be a bz2 standard header.</p>
  
  <p>Now I need to decode such strings. I've tried some components (SharpCompress and SharpZipLib) to attempt the decoding, but failed miserably.</p>
  
  <p>Can someone point me towards a viable solution that doesn't involve python coding (I don't want to create a python's bz2 wrapper with IronPython)?</p>
  
  <p>Thanks.</p>