classes-Com-Tecnick-Barcode-Type-Square-Datamatrix-ErrorCorrection

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

ErrorCorrection

in package

Com\Tecnick\Barcode\Type\Square\Datamatrix\ErrorCorrection

Error correction methods and other utilities for Datamatrix Barcode type class

Tags
since
2015-02-21
category

Library

author

Nicola Asuni info@tecnick.com

copyright

2010-2024 Nicola Asuni - Tecnick.com LTD

license

http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT)

link
https://github.com/tecnickcom/tc-lib-barcode

Table of Contents

Methods

getErrorCorrection()  : array<int, int>
Add error correction codewords to data codewords array (ANNEX E).

Methods

getErrorCorrection()

Add error correction codewords to data codewords array (ANNEX E).

public getErrorCorrection(array<int, int> $wdc, int $nbk, int $ncw, int $ncc[, int $ngf = 256 ][, int $vpp = 301 ]) : array<int, int>
Parameters
$wdc : array<int, int>

Array of datacodewords.

$nbk : int

Number of blocks.

$ncw : int

Number of data codewords per block.

$ncc : int

Number of correction codewords per block.

$ngf : int = 256

Number of fields on log/antilog table (power of 2).

$vpp : int = 301

The value of its prime modulus polynomial (301 for ECC200).

Return values
array<int, int>

data codewords + error codewords

On this page
 

© 2004-2024 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy