ErrorCorrection
in package
Com\Tecnick\Barcode\Type\Square\Aztec\ErrorCorrection
ErrorCorrection for Aztec Barcode type class
Tags
Table of Contents
Methods
- __construct() : mixed
- Initialize the the Reed-Solomon Error Correction.
- checkwords() : array<int, int>
- Returns the Reed-Solomon Error Correction Codewords added to the input data.
Methods
__construct()
Initialize the the Reed-Solomon Error Correction.
public __construct(int $wsize)
: mixed
Parameters
- $wsize : int
-
Size of a word in bits.
checkwords()
Returns the Reed-Solomon Error Correction Codewords added to the input data.
public checkwords(array<int,
int> $data,
int $necc)
: array<int,
int>
Parameters
- $data : array<int, int>
-
Array of data codewords to process.
- $necc : int
-
Number of error correction bytes.