Table of contents
Namespace: Com\Tecnick\Barcode\Type\Square\MicroQrCode
class Data
Source: src/Type/Square/MicroQrCode/Data.php:34
Symbol tables for the MicroQrCode Barcode type class
Constants
COUNT_BITS
Size in bits of the character count indicator, by version and mode.
A negative value marks a mode that the version does not support.
public const COUNT_BITS = [1 => [3, -1, -1], 2 => [4, 3, -1], 3 => [5, 4, 4], 4 => [6, 5, 5]]
Source: src/Type/Square/MicroQrCode/Data.php:100
FORMAT_GENERATOR
Generator polynomial of the BCH (15, 5) code of the format information.
public const FORMAT_GENERATOR = 0b10100110111
Source: src/Type/Square/MicroQrCode/Data.php:145
FORMAT_MASK
Mask applied to the format information.
public const FORMAT_MASK = 0b100010001000101
Source: src/Type/Square/MicroQrCode/Data.php:152
MODE_ALPHANUM
Alphanumeric encodation mode.
public const MODE_ALPHANUM = 1
Source: src/Type/Square/MicroQrCode/Data.php:48
MODE_BITS
Size in bits of the mode indicator, by version.
Version M1 carries no mode indicator.
public const MODE_BITS = [1 => 0, 2 => 1, 3 => 2, 4 => 3]
Source: src/Type/Square/MicroQrCode/Data.php:75
MODE_BYTE
Byte encodation mode.
public const MODE_BYTE = 2
Source: src/Type/Square/MicroQrCode/Data.php:55
MODE_NUMERIC
Numeric encodation mode.
public const MODE_NUMERIC = 0
Source: src/Type/Square/MicroQrCode/Data.php:41
NUMERIC_REMAINDER_BITS
Number of bits added by the trailing digits of a numeric group.
public const NUMERIC_REMAINDER_BITS = [0, 4, 7]
Source: src/Type/Square/MicroQrCode/Data.php:131
PAD_CODEWORDS
Pad codewords, applied in turn to fill the data capacity.
public const PAD_CODEWORDS = [0xec, 0x11]
Source: src/Type/Square/MicroQrCode/Data.php:138
SIZE
Symbol size in modules, by version.
public const SIZE = [1 => 11, 2 => 13, 3 => 15, 4 => 17]
Source: src/Type/Square/MicroQrCode/Data.php:62
SYMBOLS
Symbol characteristics by symbol number: version, error correction level, number of data codewords, number of data bits and number of error correction codewords. Version M1 carries error detection only and has no error correction level.
public const SYMBOLS = [0 => [1, '', 3, 20, 2], 1 => [2, 'L', 5, 40, 5], 2 => [2, 'M', 4, 32, 6], 3 => [3, 'L', 11, 84, 6], 4 => [3, 'M', 9, 68, 8], 5 => [4, 'L', 16, 128, 8], 6 => [4, 'M', 14, 112, 10], 7 => [4, 'Q', 10, 80, 14]]
Source: src/Type/Square/MicroQrCode/Data.php:115
TERMINATOR_BITS
Size in bits of the terminator, by version.
public const TERMINATOR_BITS = [1 => 3, 2 => 5, 3 => 7, 4 => 9]