\Zxing\Common\ReedsolomonReedSolomonDecoder

<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.

Summary

Methods
Properties
Constants
__construct()
decode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
runEuclideanAlgorithm()
findErrorLocations()
findErrorMagnitudes()
$field
N/A

Properties

$field

$field : 

Type

Methods

__construct()

__construct(  $field) 

Parameters

$field

decode()

decode(  $received,   $twoS) 

<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>

Parameters

$received
$twoS

Throws

\Zxing\Common\Reedsolomon\ReedSolomonException

if decoding fails for any reason

runEuclideanAlgorithm()

runEuclideanAlgorithm(  $a,   $b,   $R) 

Parameters

$a
$b
$R

findErrorLocations()

findErrorLocations(  $errorLocator) 

Parameters

$errorLocator

findErrorMagnitudes()

findErrorMagnitudes(  $errorEvaluator,   $errorLocations) 

Parameters

$errorEvaluator
$errorLocations