title: Error Correction with Python and Reed Solomon for large inputs
body: <p>I am currently implementing a messaging system. I want to send an error protected message to a receiver, but I am failing at the basics, i.e. calculating the error correcting codes. I use the following <a href="https://pypi.python.org/pypi/reedsolo" rel="nofollow noreferrer">library</a> for error correction.<br />
  Consider the following MWE: </p>
  
  <pre><code>from reedsolo import RSCodec
  
  with open("imageToSend.png", "rb") as pic:
    picContent = pic.read()
  
  correctionLength = int((len(picContent)/100)*20)
  rs = RSCodec(correctionLength)
  
  rs.encode(picContent)
  </code></pre>
  
  <p>As you can see I want to protect the image from 20% errors that might occur. The problem here? The encoded bytearray is empty. And my question: Is it possible to protect large files from errors, without chunking them into smaller pieces and then calculating the error correcting codes?</p>