ErrorCorrection class

PDF417 error correction implementation.

This example is quite useful in understanding the algorithm.

See ReedSolomonDecoder

@author Sean Owen

Constructors

ErrorCorrection()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(List<int> received, int numECCodewords, List<int>? erasures) int
@param received received codewords @param numECCodewords number of those codewords used for EC @param erasures location of erasures @return number of errors @throws ChecksumException if errors cannot be corrected, maybe because of too many errors
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited