$ecCodewordsPerBlock
$ecCodewordsPerBlock : integer
Number of EC codewords per block.
Encapsulates a set of error-correction blocks in one symbol version. Most versions will use blocks of differing sizes within one version, so, this encapsulates the parameters for each set of blocks. It also holds the number of error-correction codewords per block since it will be the same across all blocks within one version.
__construct(integer $ecCodewordsPerBlock, \BaconQrCode\Common\EcBlock $ecb1, \BaconQrCode\Common\EcBlock|null $ecb2 = null)
Creates a new EC blocks instance.
integer | $ecCodewordsPerBlock | |
\BaconQrCode\Common\EcBlock | $ecb1 | |
\BaconQrCode\Common\EcBlock|null | $ecb2 |
Loading…