diff --git a/classes/chillerlan-QRCode-Data-AlphaNum.html b/classes/chillerlan-QRCode-Data-AlphaNum.html
index f253540b6..e409a087c 100644
--- a/classes/chillerlan-QRCode-Data-AlphaNum.html
+++ b/classes/chillerlan-QRCode-Data-AlphaNum.html
@@ -193,66 +193,12 @@
- CHAR_TO_ORD
+ CHAR_MAP
- = [
- // phpcs:ignore
- '0' => 0,
- '1' => 1,
- '2' => 2,
- '3' => 3,
- '4' => 4,
- '5' => 5,
- '6' => 6,
- '7' => 7,
- // phpcs:ignore
- '8' => 8,
- '9' => 9,
- 'A' => 10,
- 'B' => 11,
- 'C' => 12,
- 'D' => 13,
- 'E' => 14,
- 'F' => 15,
- 'G' => 16,
- 'H' => 17,
- 'I' => 18,
- 'J' => 19,
- 'K' => 20,
- 'L' => 21,
- 'M' => 22,
- 'N' => 23,
- 'O' => 24,
- 'P' => 25,
- 'Q' => 26,
- 'R' => 27,
- 'S' => 28,
- 'T' => 29,
- 'U' => 30,
- 'V' => 31,
- 'W' => 32,
- 'X' => 33,
- 'Y' => 34,
- 'Z' => 35,
- ' ' => 36,
- '$' => 37,
- '%' => 38,
- '*' => 39,
- '+' => 40,
- '-' => 41,
- '.' => 42,
- '/' => 43,
- ':' => 44,
-]
+ = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:'
ISO/IEC 18004:2000 Table 5
-
- ORD_TO_CHAR
-
- = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', '+', '-', '.', '/', ':']
-
-
@@ -333,6 +279,18 @@
shortcut
+
+ chr()
+
+ : string
+
+
+
+ ord()
+
+ : int
+
+
@@ -354,7 +312,7 @@
@@ -376,9 +334,9 @@
-
- CHAR_TO_ORD
-
+
+ CHAR_MAP
+
@@ -394,88 +352,9 @@
private
- array<string|int, int>
- CHAR_TO_ORD
- = [
- // phpcs:ignore
- '0' => 0,
- '1' => 1,
- '2' => 2,
- '3' => 3,
- '4' => 4,
- '5' => 5,
- '6' => 6,
- '7' => 7,
- // phpcs:ignore
- '8' => 8,
- '9' => 9,
- 'A' => 10,
- 'B' => 11,
- 'C' => 12,
- 'D' => 13,
- 'E' => 14,
- 'F' => 15,
- 'G' => 16,
- 'H' => 17,
- 'I' => 18,
- 'J' => 19,
- 'K' => 20,
- 'L' => 21,
- 'M' => 22,
- 'N' => 23,
- 'O' => 24,
- 'P' => 25,
- 'Q' => 26,
- 'R' => 27,
- 'S' => 28,
- 'T' => 29,
- 'U' => 30,
- 'V' => 31,
- 'W' => 32,
- 'X' => 33,
- 'Y' => 34,
- 'Z' => 35,
- ' ' => 36,
- '$' => 37,
- '%' => 38,
- '*' => 39,
- '+' => 40,
- '-' => 41,
- '.' => 42,
- '/' => 43,
- ':' => 44,
-]
-
-
-
-
-
-
-
-
-
-
-
-
- ORD_TO_CHAR
-
-
-
-
-
-
-
-
-
- private
- array<string|int, string>
- ORD_TO_CHAR
- = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', ' ', '$', '%', '*', '+', '-', '.', '/', ':']
+ string
+ CHAR_MAP
+ = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:'
@@ -663,7 +542,7 @@
@@ -741,7 +620,7 @@
@@ -780,7 +659,7 @@
@@ -829,7 +708,7 @@
@@ -953,6 +832,132 @@ Parameters
+
+
+
+
+
+ chr()
+
+
+
+
+
+
+
+ private
+ static chr(int $ord) : string
+
+
+
+
+
+ Parameters
+
+ -
+ $ord
+ : int
+
+ -
+
+
+
+
+
+
+
+ -
+ throws
+
+ -
+ QRCodeDataException
+
+
+
+
+
+
+
+
+ Return values
+ string
+
+
+
+
+
+ ord()
+
+
+
+
+
+
+
+ private
+ ord(string $chr) : int
+
+
+
+
+
+ Parameters
+
+ -
+ $chr
+ : string
+
+ -
+
+
+
+
+
+
+
+ -
+ throws
+
+ -
+ QRCodeDataException
+
+
+
+
+
+
+
Return values
int
@@ -1073,8 +1078,7 @@ Return values
@@ -1096,6 +1100,8 @@ Return values
write()
getCharCount()
getLengthBits()
+ chr()
+ ord()
diff --git a/classes/chillerlan-QRCode-Data-Number.html b/classes/chillerlan-QRCode-Data-Number.html
index 07992fe88..cead751e1 100644
--- a/classes/chillerlan-QRCode-Data-Number.html
+++ b/classes/chillerlan-QRCode-Data-Number.html
@@ -192,18 +192,6 @@
= \chillerlan\QRCode\Common\Mode::NUMBER
-
- NUMBER_TO_ORD
-
- = ['0' => 0, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9]
-
-
-
- ORD_TO_NUMBER
-
- = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
-
-
@@ -312,7 +300,7 @@
@@ -332,68 +320,6 @@
-
-
-
- NUMBER_TO_ORD
-
-
-
-
-
-
-
-
-
- private
- array<string|int, int>
- NUMBER_TO_ORD
- = ['0' => 0, '1' => 1, '2' => 2, '3' => 3, '4' => 4, '5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9]
-
-
-
-
-
-
-
-
-
-
-
-
- ORD_TO_NUMBER
-
-
-
-
-
-
-
-
-
- private
- array<string|int, string>
- ORD_TO_NUMBER
- = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
-
-
-
-
-
-
-
-
-
@@ -572,7 +498,7 @@
@@ -650,7 +576,7 @@
@@ -689,7 +615,7 @@
@@ -738,7 +664,7 @@
@@ -882,7 +808,7 @@
@@ -1046,8 +972,6 @@ Return values
diff --git a/js/searchIndex.js b/js/searchIndex.js
index 125e7ed40..99206bc99 100644
--- a/js/searchIndex.js
+++ b/js/searchIndex.js
@@ -896,15 +896,20 @@ Search.appendIndex(
"summary": "reads\u0020a\u0020segment\u0020from\u0020the\u0020BitBuffer\u0020and\u0020decodes\u0020in\u0020the\u0020current\u0020data\u0020mode",
"url": "classes/chillerlan-QRCode-Data-AlphaNum.html#method_decodeSegment"
}, {
- "fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003ACHAR_TO_ORD",
- "name": "CHAR_TO_ORD",
- "summary": "ISO\/IEC\u002018004\u003A2000\u0020Table\u00205",
- "url": "classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_TO_ORD"
+ "fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003Aord\u0028\u0029",
+ "name": "ord",
+ "summary": "",
+ "url": "classes/chillerlan-QRCode-Data-AlphaNum.html#method_ord"
}, {
- "fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003AORD_TO_CHAR",
- "name": "ORD_TO_CHAR",
+ "fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003Achr\u0028\u0029",
+ "name": "chr",
"summary": "",
- "url": "classes/chillerlan-QRCode-Data-AlphaNum.html#constant_ORD_TO_CHAR"
+ "url": "classes/chillerlan-QRCode-Data-AlphaNum.html#method_chr"
+ }, {
+ "fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003ACHAR_MAP",
+ "name": "CHAR_MAP",
+ "summary": "ISO\/IEC\u002018004\u003A2000\u0020Table\u00205",
+ "url": "classes/chillerlan-QRCode-Data-AlphaNum.html#constant_CHAR_MAP"
}, {
"fqsen": "\\chillerlan\\QRCode\\Data\\AlphaNum\u003A\u003ADATAMODE",
"name": "DATAMODE",
@@ -1110,16 +1115,6 @@ Search.appendIndex(
"name": "decodeSegment",
"summary": "reads\u0020a\u0020segment\u0020from\u0020the\u0020BitBuffer\u0020and\u0020decodes\u0020in\u0020the\u0020current\u0020data\u0020mode",
"url": "classes/chillerlan-QRCode-Data-Number.html#method_decodeSegment"
- }, {
- "fqsen": "\\chillerlan\\QRCode\\Data\\Number\u003A\u003ANUMBER_TO_ORD",
- "name": "NUMBER_TO_ORD",
- "summary": "",
- "url": "classes/chillerlan-QRCode-Data-Number.html#constant_NUMBER_TO_ORD"
- }, {
- "fqsen": "\\chillerlan\\QRCode\\Data\\Number\u003A\u003AORD_TO_NUMBER",
- "name": "ORD_TO_NUMBER",
- "summary": "",
- "url": "classes/chillerlan-QRCode-Data-Number.html#constant_ORD_TO_NUMBER"
}, {
"fqsen": "\\chillerlan\\QRCode\\Data\\Number\u003A\u003ADATAMODE",
"name": "DATAMODE",