$field
$field
<p>Implements Reed-Solomon decoding, as the name implies.</p>
The algorithm will not be explained here, but the following references were helpful in creating this implementation:
Much credit is due to William Rucklidge since portions of this code are an indirect port of his C++ Reed-Solomon implementation.
decode(\Zxing\Common\Reedsolomon\data $received, \Zxing\Common\Reedsolomon\number $twoS) : mixed
<p>Decodes given set of received codewords, which include both data and error-correction codewords. Really, this means it uses Reed-Solomon to detect and correct errors, in-place, in the input.</p>
\Zxing\Common\Reedsolomon\data | $received | and error-correction codewords |
\Zxing\Common\Reedsolomon\number | $twoS | of error-correction codewords available |
if decoding fails for any reason