mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-31 20:48:40 +00:00
:octocat: +max length table reference
This commit is contained in:
@@ -65,6 +65,20 @@ final class Mode{
|
||||
self::DATA_BYTE => Byte::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* References to the keys of the following table(s):
|
||||
*
|
||||
* @see \chillerlan\QRCode\Common\Version::MAX_LENGTH
|
||||
*
|
||||
* @var int[]
|
||||
*/
|
||||
public const DATA_MODES = [
|
||||
self::DATA_NUMBER => 0,
|
||||
self::DATA_ALPHANUM => 1,
|
||||
self::DATA_BYTE => 2,
|
||||
self::DATA_KANJI => 3,
|
||||
];
|
||||
|
||||
/**
|
||||
* returns the length bits for the version breakpoints 1-9, 10-26 and 27-40
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user