title: lzss.decode() in python is not giving correct output
body: <p>I have a compressed file as per LZSS compression method.
  I am using <code>lzss.decode()</code> in Python for the compressed data. But I am not getting correct output. My code is given below:</p>
  
  <pre><code>import lzss    
  input_1 = fp.read()
  
  print("\n compressed: ", binascii.hexlify(input_1).decode("ascii"))
  
  comp_out = lzss.decode(input_1)
  
  print("\n uncompressed: ", binascii.hexlify(comp_out).decode("ascii"))
  </code></pre>
  
  <p>Output from code:</p>
  
  <p><img src="https://i.stack.imgur.com/DIVhW.png" alt="output from code"> </p>
  
  <p>Correct uncompressed data
  <img src="https://i.stack.imgur.com/0nJ2g.png" alt="correct uncompressed data"></p>
  
  <p>Could any one please help me on the problem?</p>