chillerlan-QRCode-Data-Number.html 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Documentation</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <base href="../">
  8. <link rel="icon" href="images/favicon.ico"/>
  9. <link rel="stylesheet" href="css/normalize.css">
  10. <link rel="stylesheet" href="css/base.css">
  11. <link rel="preconnect" href="https://fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
  13. <link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
  14. <link rel="stylesheet" href="css/template.css">
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
  16. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
  17. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
  18. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
  19. <script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
  20. <script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
  21. <script src="js/template.js"></script>
  22. <script src="js/search.js"></script>
  23. <script defer src="js/searchIndex.js"></script>
  24. </head>
  25. <body id="top">
  26. <header class="phpdocumentor-header phpdocumentor-section">
  27. <h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
  28. <input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
  29. <label class="phpdocumentor-header__menu-icon" for="menu-button">
  30. <i class="fas fa-bars"></i>
  31. </label>
  32. <section data-search-form class="phpdocumentor-search">
  33. <label>
  34. <span class="visually-hidden">Search for</span>
  35. <svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
  36. <circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
  37. <line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
  38. </svg>
  39. <input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
  40. </label>
  41. </section>
  42. <nav class="phpdocumentor-topnav">
  43. <ul class="phpdocumentor-topnav__menu">
  44. <li class="phpdocumentor-topnav__menu-item -menu">
  45. <a href="https://php-qrcode.readthedocs.io">
  46. <span>
  47. User Manual
  48. </span>
  49. </a>
  50. </li>
  51. <li class="phpdocumentor-topnav__menu-item -social">
  52. <a href="https://github.com/chillerlan/php-qrcode">
  53. <span>
  54. <i class="fab fa-github"></i>
  55. </span>
  56. </a>
  57. </li>
  58. </ul>
  59. </nav>
  60. </header>
  61. <main class="phpdocumentor">
  62. <div class="phpdocumentor-section">
  63. <input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
  64. <label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
  65. Menu
  66. </label>
  67. <aside class="phpdocumentor-column -three phpdocumentor-sidebar">
  68. <section class="phpdocumentor-sidebar__category">
  69. <h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
  70. <h4 class="phpdocumentor-sidebar__root-namespace">
  71. <a href="namespaces/chillerlan.html" class="">chillerlan</a>
  72. </h4>
  73. <ul class="phpdocumentor-list">
  74. <li>
  75. <a href="namespaces/chillerlan-qrcode.html" class="">QRCode</a>
  76. </li>
  77. <li>
  78. <a href="namespaces/chillerlan-qrcodetest.html" class="">QRCodeTest</a>
  79. </li>
  80. </ul>
  81. </section>
  82. <section class="phpdocumentor-sidebar__category">
  83. <h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
  84. <h4 class="phpdocumentor-sidebar__root-namespace">
  85. <a href="packages/Application.html" class="">Application</a>
  86. </h4>
  87. </section>
  88. <section class="phpdocumentor-sidebar__category">
  89. <h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
  90. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
  91. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
  92. <h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
  93. </section>
  94. <section class="phpdocumentor-sidebar__category">
  95. <h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
  96. <h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
  97. </section>
  98. </aside>
  99. <div class="phpdocumentor-column -nine phpdocumentor-content">
  100. <section>
  101. <ul class="phpdocumentor-breadcrumbs">
  102. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan.html">chillerlan</a></li>
  103. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode.html">QRCode</a></li>
  104. <li class="phpdocumentor-breadcrumb"><a href="namespaces/chillerlan-qrcode-data.html">Data</a></li>
  105. </ul>
  106. <article class="phpdocumentor-element -class">
  107. <h2 class="phpdocumentor-content__title">
  108. Number
  109. <span class="phpdocumentor-element__extends">
  110. extends <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeAbstract">QRDataModeAbstract</abbr></a>
  111. </span>
  112. <div class="phpdocumentor-element__package">
  113. in package
  114. <ul class="phpdocumentor-breadcrumbs">
  115. <li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
  116. </ul>
  117. </div>
  118. </h2>
  119. <div class="phpdocumentor-label-line">
  120. <div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
  121. </div>
  122. <aside class="phpdocumentor-element-found-in">
  123. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  124. :
  125. <span class="phpdocumentor-element-found-in__line">23</span>
  126. </aside>
  127. <p class="phpdocumentor-summary">Numeric mode: decimal digits 0 to 9</p>
  128. <section class="phpdocumentor-description"><p>ISO/IEC 18004:2000 Section 8.3.2
  129. ISO/IEC 18004:2000 Section 8.4.2</p>
  130. </section>
  131. <h3 id="toc">
  132. Table of Contents
  133. <a href="classes/chillerlan-QRCode-Data-Number.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
  134. </h3>
  135. <h4 id="toc-constants">
  136. Constants
  137. <a href="classes/chillerlan-QRCode-Data-Number.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
  138. </h4>
  139. <dl class="phpdocumentor-table-of-contents">
  140. <dt class="phpdocumentor-table-of-contents__entry -constant -public">
  141. <a href="classes/chillerlan-QRCode-Data-Number.html#constant_DATAMODE">DATAMODE</a>
  142. <span>
  143. &nbsp;= \chillerlan\QRCode\Common\Mode::NUMBER </span>
  144. </dt>
  145. <dt class="phpdocumentor-table-of-contents__entry -constant -private">
  146. <a href="classes/chillerlan-QRCode-Data-Number.html#constant_NUMBER_TO_ORD">NUMBER_TO_ORD</a>
  147. <span>
  148. &nbsp;= [&#039;0&#039; =&gt; 0, &#039;1&#039; =&gt; 1, &#039;2&#039; =&gt; 2, &#039;3&#039; =&gt; 3, &#039;4&#039; =&gt; 4, &#039;5&#039; =&gt; 5, &#039;6&#039; =&gt; 6, &#039;7&#039; =&gt; 7, &#039;8&#039; =&gt; 8, &#039;9&#039; =&gt; 9] </span>
  149. </dt>
  150. </dl>
  151. <h4 id="toc-properties">
  152. Properties
  153. <a href="classes/chillerlan-QRCode-Data-Number.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
  154. </h4>
  155. <dl class="phpdocumentor-table-of-contents">
  156. <dt class="phpdocumentor-table-of-contents__entry -property -protected">
  157. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data</a>
  158. <span>
  159. &nbsp;: string </span>
  160. </dt>
  161. <dd>The data to write</dd>
  162. </dl>
  163. <h4 id="toc-methods">
  164. Methods
  165. <a href="classes/chillerlan-QRCode-Data-Number.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
  166. </h4>
  167. <dl class="phpdocumentor-table-of-contents">
  168. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  169. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a>
  170. <span>
  171. &nbsp;: mixed </span>
  172. </dt>
  173. <dd>QRDataModeAbstract constructor.</dd>
  174. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  175. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a>
  176. <span>
  177. &nbsp;: string </span>
  178. </dt>
  179. <dd>encoding conversion helper</dd>
  180. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  181. <a href="classes/chillerlan-QRCode-Data-Number.html#method_decodeSegment">decodeSegment()</a>
  182. <span>
  183. &nbsp;: string </span>
  184. </dt>
  185. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  186. <a href="classes/chillerlan-QRCode-Data-Number.html#method_getLengthInBits">getLengthInBits()</a>
  187. <span>
  188. &nbsp;: int </span>
  189. </dt>
  190. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  191. <a href="classes/chillerlan-QRCode-Data-Number.html#method_validateString">validateString()</a>
  192. <span>
  193. &nbsp;: bool </span>
  194. </dt>
  195. <dt class="phpdocumentor-table-of-contents__entry -method -public">
  196. <a href="classes/chillerlan-QRCode-Data-Number.html#method_write">write()</a>
  197. <span>
  198. &nbsp;: <a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a> </span>
  199. </dt>
  200. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  201. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a>
  202. <span>
  203. &nbsp;: int </span>
  204. </dt>
  205. <dd>returns the character count of the $data string</dd>
  206. <dt class="phpdocumentor-table-of-contents__entry -method -protected">
  207. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a>
  208. <span>
  209. &nbsp;: int </span>
  210. </dt>
  211. <dd>shortcut</dd>
  212. <dt class="phpdocumentor-table-of-contents__entry -method -private">
  213. <a href="classes/chillerlan-QRCode-Data-Number.html#method_parseInt">parseInt()</a>
  214. <span>
  215. &nbsp;: int </span>
  216. </dt>
  217. <dd>get the code for the given numeric string</dd>
  218. </dl>
  219. <section class="phpdocumentor-constants">
  220. <h3 class="phpdocumentor-elements__header" id="constants">
  221. Constants
  222. <a href="classes/chillerlan-QRCode-Data-Number.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
  223. </h3>
  224. <article class="phpdocumentor-element -constant -public ">
  225. <h4 class="phpdocumentor-element__name" id="constant_DATAMODE">
  226. DATAMODE
  227. <a href="classes/chillerlan-QRCode-Data-Number.html#constant_DATAMODE" class="headerlink"><i class="fas fa-link"></i></a>
  228. </h4>
  229. <aside class="phpdocumentor-element-found-in">
  230. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  231. :
  232. <span class="phpdocumentor-element-found-in__line">35</span>
  233. </aside>
  234. <code class="phpdocumentor-signature phpdocumentor-code ">
  235. <span class="phpdocumentor-signature__visibility">public</span>
  236. <span class="phpdocumentor-signature__type">mixed</span>
  237. <span class="phpdocumentor-signature__name">DATAMODE</span>
  238. = <span class="phpdocumentor-signature__default-value">\chillerlan\QRCode\Common\Mode::NUMBER</span>
  239. </code>
  240. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  241. Tags
  242. <a href="classes/chillerlan-QRCode-Data-Number.html#constant_DATAMODE#tags" class="headerlink"><i class="fas fa-link"></i></a>
  243. </h5>
  244. <dl class="phpdocumentor-tag-list">
  245. <dt class="phpdocumentor-tag-list__entry">
  246. <span class="phpdocumentor-tag__name">inheritDoc</span>
  247. </dt>
  248. <dd class="phpdocumentor-tag-list__definition">
  249. </dd>
  250. </dl>
  251. </article>
  252. <article class="phpdocumentor-element -constant -private ">
  253. <h4 class="phpdocumentor-element__name" id="constant_NUMBER_TO_ORD">
  254. NUMBER_TO_ORD
  255. <a href="classes/chillerlan-QRCode-Data-Number.html#constant_NUMBER_TO_ORD" class="headerlink"><i class="fas fa-link"></i></a>
  256. </h4>
  257. <aside class="phpdocumentor-element-found-in">
  258. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  259. :
  260. <span class="phpdocumentor-element-found-in__line">28</span>
  261. </aside>
  262. <code class="phpdocumentor-signature phpdocumentor-code ">
  263. <span class="phpdocumentor-signature__visibility">private</span>
  264. <span class="phpdocumentor-signature__type">array&lt;string|int, int&gt;</span>
  265. <span class="phpdocumentor-signature__name">NUMBER_TO_ORD</span>
  266. = <span class="phpdocumentor-signature__default-value">[&#039;0&#039; =&gt; 0, &#039;1&#039; =&gt; 1, &#039;2&#039; =&gt; 2, &#039;3&#039; =&gt; 3, &#039;4&#039; =&gt; 4, &#039;5&#039; =&gt; 5, &#039;6&#039; =&gt; 6, &#039;7&#039; =&gt; 7, &#039;8&#039; =&gt; 8, &#039;9&#039; =&gt; 9]</span>
  267. </code>
  268. </article>
  269. </section>
  270. <section class="phpdocumentor-properties">
  271. <h3 class="phpdocumentor-elements__header" id="properties">
  272. Properties
  273. <a href="classes/chillerlan-QRCode-Data-Number.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
  274. </h3>
  275. <article
  276. class="
  277. phpdocumentor-element
  278. -property
  279. -protected
  280. "
  281. >
  282. <h4 class="phpdocumentor-element__name" id="property_data">
  283. $data
  284. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data" class="headerlink"><i class="fas fa-link"></i></a>
  285. <span class="phpdocumentor-element__modifiers">
  286. </span>
  287. </h4>
  288. <aside class="phpdocumentor-element-found-in">
  289. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  290. :
  291. <span class="phpdocumentor-element-found-in__line">23</span>
  292. </aside>
  293. <p class="phpdocumentor-summary">The data to write</p>
  294. <code class="phpdocumentor-code phpdocumentor-signature ">
  295. <span class="phpdocumentor-signature__visibility">protected</span>
  296. <span class="phpdocumentor-signature__type">string</span>
  297. <span class="phpdocumentor-signature__name">$data</span>
  298. </code>
  299. </article>
  300. </section>
  301. <section class="phpdocumentor-methods">
  302. <h3 class="phpdocumentor-elements__header" id="methods">
  303. Methods
  304. <a href="classes/chillerlan-QRCode-Data-Number.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
  305. </h3>
  306. <article
  307. class="phpdocumentor-element
  308. -method
  309. -public
  310. "
  311. >
  312. <h4 class="phpdocumentor-element__name" id="method___construct">
  313. __construct()
  314. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
  315. </h4>
  316. <aside class="phpdocumentor-element-found-in">
  317. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  318. :
  319. <span class="phpdocumentor-element-found-in__line">30</span>
  320. </aside>
  321. <p class="phpdocumentor-summary">QRDataModeAbstract constructor.</p>
  322. <code class="phpdocumentor-code phpdocumentor-signature ">
  323. <span class="phpdocumentor-signature__visibility">public</span>
  324. <span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$data</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
  325. <div class="phpdocumentor-label-line">
  326. </div>
  327. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  328. <dl class="phpdocumentor-argument-list">
  329. <dt class="phpdocumentor-argument-list__entry">
  330. <span class="phpdocumentor-signature__argument__name">$data</span>
  331. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  332. </dt>
  333. <dd class="phpdocumentor-argument-list__definition">
  334. </dd>
  335. </dl>
  336. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  337. Tags
  338. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct#tags" class="headerlink"><i class="fas fa-link"></i></a>
  339. </h5>
  340. <dl class="phpdocumentor-tag-list">
  341. <dt class="phpdocumentor-tag-list__entry">
  342. <span class="phpdocumentor-tag__name">throws</span>
  343. </dt>
  344. <dd class="phpdocumentor-tag-list__definition">
  345. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  346. </dd>
  347. </dl>
  348. </article>
  349. <article
  350. class="phpdocumentor-element
  351. -method
  352. -public
  353. -static "
  354. >
  355. <h4 class="phpdocumentor-element__name" id="method_convertEncoding">
  356. convertEncoding()
  357. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding" class="headerlink"><i class="fas fa-link"></i></a>
  358. </h4>
  359. <aside class="phpdocumentor-element-found-in">
  360. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  361. :
  362. <span class="phpdocumentor-element-found-in__line">50</span>
  363. </aside>
  364. <p class="phpdocumentor-summary">encoding conversion helper</p>
  365. <code class="phpdocumentor-code phpdocumentor-signature ">
  366. <span class="phpdocumentor-signature__visibility">public</span>
  367. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">convertEncoding</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  368. <div class="phpdocumentor-label-line">
  369. </div>
  370. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  371. <dl class="phpdocumentor-argument-list">
  372. <dt class="phpdocumentor-argument-list__entry">
  373. <span class="phpdocumentor-signature__argument__name">$string</span>
  374. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  375. </dt>
  376. <dd class="phpdocumentor-argument-list__definition">
  377. </dd>
  378. </dl>
  379. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  380. Tags
  381. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding#tags" class="headerlink"><i class="fas fa-link"></i></a>
  382. </h5>
  383. <dl class="phpdocumentor-tag-list">
  384. <dt class="phpdocumentor-tag-list__entry">
  385. <span class="phpdocumentor-tag__name">inheritDoc</span>
  386. </dt>
  387. <dd class="phpdocumentor-tag-list__definition">
  388. </dd>
  389. </dl>
  390. <section>
  391. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  392. <span class="phpdocumentor-signature__response_type">string</span>
  393. </section>
  394. </article>
  395. <article
  396. class="phpdocumentor-element
  397. -method
  398. -public
  399. -static "
  400. >
  401. <h4 class="phpdocumentor-element__name" id="method_decodeSegment">
  402. decodeSegment()
  403. <a href="classes/chillerlan-QRCode-Data-Number.html#method_decodeSegment" class="headerlink"><i class="fas fa-link"></i></a>
  404. </h4>
  405. <aside class="phpdocumentor-element-found-in">
  406. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  407. :
  408. <span class="phpdocumentor-element-found-in__line">115</span>
  409. </aside>
  410. <code class="phpdocumentor-code phpdocumentor-signature ">
  411. <span class="phpdocumentor-signature__visibility">public</span>
  412. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">decodeSegment</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
  413. <div class="phpdocumentor-label-line">
  414. </div>
  415. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  416. <dl class="phpdocumentor-argument-list">
  417. <dt class="phpdocumentor-argument-list__entry">
  418. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  419. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  420. </dt>
  421. <dd class="phpdocumentor-argument-list__definition">
  422. </dd>
  423. <dt class="phpdocumentor-argument-list__entry">
  424. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  425. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  426. </dt>
  427. <dd class="phpdocumentor-argument-list__definition">
  428. </dd>
  429. </dl>
  430. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  431. Tags
  432. <a href="classes/chillerlan-QRCode-Data-Number.html#method_decodeSegment#tags" class="headerlink"><i class="fas fa-link"></i></a>
  433. </h5>
  434. <dl class="phpdocumentor-tag-list">
  435. <dt class="phpdocumentor-tag-list__entry">
  436. <span class="phpdocumentor-tag__name">inheritDoc</span>
  437. </dt>
  438. <dd class="phpdocumentor-tag-list__definition">
  439. </dd>
  440. <dt class="phpdocumentor-tag-list__entry">
  441. <span class="phpdocumentor-tag__name">throws</span>
  442. </dt>
  443. <dd class="phpdocumentor-tag-list__definition">
  444. <span class="phpdocumentor-tag-link"><a href="classes/chillerlan-QRCode-Data-QRCodeDataException.html"><abbr title="\chillerlan\QRCode\Data\QRCodeDataException">QRCodeDataException</abbr></a></span>
  445. </dd>
  446. </dl>
  447. <section>
  448. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  449. <span class="phpdocumentor-signature__response_type">string</span>
  450. </section>
  451. </article>
  452. <article
  453. class="phpdocumentor-element
  454. -method
  455. -public
  456. "
  457. >
  458. <h4 class="phpdocumentor-element__name" id="method_getLengthInBits">
  459. getLengthInBits()
  460. <a href="classes/chillerlan-QRCode-Data-Number.html#method_getLengthInBits" class="headerlink"><i class="fas fa-link"></i></a>
  461. </h4>
  462. <aside class="phpdocumentor-element-found-in">
  463. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  464. :
  465. <span class="phpdocumentor-element-found-in__line">40</span>
  466. </aside>
  467. <code class="phpdocumentor-code phpdocumentor-signature ">
  468. <span class="phpdocumentor-signature__visibility">public</span>
  469. <span class="phpdocumentor-signature__name">getLengthInBits</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  470. <div class="phpdocumentor-label-line">
  471. </div>
  472. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  473. Tags
  474. <a href="classes/chillerlan-QRCode-Data-Number.html#method_getLengthInBits#tags" class="headerlink"><i class="fas fa-link"></i></a>
  475. </h5>
  476. <dl class="phpdocumentor-tag-list">
  477. <dt class="phpdocumentor-tag-list__entry">
  478. <span class="phpdocumentor-tag__name">inheritDoc</span>
  479. </dt>
  480. <dd class="phpdocumentor-tag-list__definition">
  481. </dd>
  482. </dl>
  483. <section>
  484. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  485. <span class="phpdocumentor-signature__response_type">int</span>
  486. </section>
  487. </article>
  488. <article
  489. class="phpdocumentor-element
  490. -method
  491. -public
  492. -static "
  493. >
  494. <h4 class="phpdocumentor-element__name" id="method_validateString">
  495. validateString()
  496. <a href="classes/chillerlan-QRCode-Data-Number.html#method_validateString" class="headerlink"><i class="fas fa-link"></i></a>
  497. </h4>
  498. <aside class="phpdocumentor-element-found-in">
  499. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  500. :
  501. <span class="phpdocumentor-element-found-in__line">47</span>
  502. </aside>
  503. <code class="phpdocumentor-code phpdocumentor-signature ">
  504. <span class="phpdocumentor-signature__visibility">public</span>
  505. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">validateString</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
  506. <div class="phpdocumentor-label-line">
  507. </div>
  508. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  509. <dl class="phpdocumentor-argument-list">
  510. <dt class="phpdocumentor-argument-list__entry">
  511. <span class="phpdocumentor-signature__argument__name">$string</span>
  512. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  513. </dt>
  514. <dd class="phpdocumentor-argument-list__definition">
  515. </dd>
  516. </dl>
  517. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  518. Tags
  519. <a href="classes/chillerlan-QRCode-Data-Number.html#method_validateString#tags" class="headerlink"><i class="fas fa-link"></i></a>
  520. </h5>
  521. <dl class="phpdocumentor-tag-list">
  522. <dt class="phpdocumentor-tag-list__entry">
  523. <span class="phpdocumentor-tag__name">inheritDoc</span>
  524. </dt>
  525. <dd class="phpdocumentor-tag-list__definition">
  526. </dd>
  527. </dl>
  528. <section>
  529. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  530. <span class="phpdocumentor-signature__response_type">bool</span>
  531. </section>
  532. </article>
  533. <article
  534. class="phpdocumentor-element
  535. -method
  536. -public
  537. "
  538. >
  539. <h4 class="phpdocumentor-element__name" id="method_write">
  540. write()
  541. <a href="classes/chillerlan-QRCode-Data-Number.html#method_write" class="headerlink"><i class="fas fa-link"></i></a>
  542. </h4>
  543. <aside class="phpdocumentor-element-found-in">
  544. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  545. :
  546. <span class="phpdocumentor-element-found-in__line">65</span>
  547. </aside>
  548. <code class="phpdocumentor-code phpdocumentor-signature ">
  549. <span class="phpdocumentor-signature__visibility">public</span>
  550. <span class="phpdocumentor-signature__name">write</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a>&nbsp;</span><span class="phpdocumentor-signature__argument__name">$bitBuffer</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span></code>
  551. <div class="phpdocumentor-label-line">
  552. </div>
  553. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  554. <dl class="phpdocumentor-argument-list">
  555. <dt class="phpdocumentor-argument-list__entry">
  556. <span class="phpdocumentor-signature__argument__name">$bitBuffer</span>
  557. : <span class="phpdocumentor-signature__argument__return-type"><a href="classes/chillerlan-QRCode-Common-BitBuffer.html"><abbr title="\chillerlan\QRCode\Common\BitBuffer">BitBuffer</abbr></a></span>
  558. </dt>
  559. <dd class="phpdocumentor-argument-list__definition">
  560. </dd>
  561. <dt class="phpdocumentor-argument-list__entry">
  562. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  563. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  564. </dt>
  565. <dd class="phpdocumentor-argument-list__definition">
  566. </dd>
  567. </dl>
  568. <h5 class="phpdocumentor-tag-list__heading" id="tags">
  569. Tags
  570. <a href="classes/chillerlan-QRCode-Data-Number.html#method_write#tags" class="headerlink"><i class="fas fa-link"></i></a>
  571. </h5>
  572. <dl class="phpdocumentor-tag-list">
  573. <dt class="phpdocumentor-tag-list__entry">
  574. <span class="phpdocumentor-tag__name">inheritDoc</span>
  575. </dt>
  576. <dd class="phpdocumentor-tag-list__definition">
  577. </dd>
  578. </dl>
  579. <section>
  580. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  581. <span class="phpdocumentor-signature__response_type"><a href="classes/chillerlan-QRCode-Data-QRDataModeInterface.html"><abbr title="\chillerlan\QRCode\Data\QRDataModeInterface">QRDataModeInterface</abbr></a></span>
  582. </section>
  583. </article>
  584. <article
  585. class="phpdocumentor-element
  586. -method
  587. -protected
  588. "
  589. >
  590. <h4 class="phpdocumentor-element__name" id="method_getCharCount">
  591. getCharCount()
  592. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount" class="headerlink"><i class="fas fa-link"></i></a>
  593. </h4>
  594. <aside class="phpdocumentor-element-found-in">
  595. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  596. :
  597. <span class="phpdocumentor-element-found-in__line">43</span>
  598. </aside>
  599. <p class="phpdocumentor-summary">returns the character count of the $data string</p>
  600. <code class="phpdocumentor-code phpdocumentor-signature ">
  601. <span class="phpdocumentor-signature__visibility">protected</span>
  602. <span class="phpdocumentor-signature__name">getCharCount</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  603. <div class="phpdocumentor-label-line">
  604. </div>
  605. <section>
  606. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  607. <span class="phpdocumentor-signature__response_type">int</span>
  608. </section>
  609. </article>
  610. <article
  611. class="phpdocumentor-element
  612. -method
  613. -protected
  614. -static "
  615. >
  616. <h4 class="phpdocumentor-element__name" id="method_getLengthBits">
  617. getLengthBits()
  618. <a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits" class="headerlink"><i class="fas fa-link"></i></a>
  619. </h4>
  620. <aside class="phpdocumentor-element-found-in">
  621. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/QRDataModeAbstract.php"><a href="files/src-data-qrdatamodeabstract.html"><abbr title="src/Data/QRDataModeAbstract.php">QRDataModeAbstract.php</abbr></a></abbr>
  622. :
  623. <span class="phpdocumentor-element-found-in__line">57</span>
  624. </aside>
  625. <p class="phpdocumentor-summary">shortcut</p>
  626. <code class="phpdocumentor-code phpdocumentor-signature ">
  627. <span class="phpdocumentor-signature__visibility">protected</span>
  628. <span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getLengthBits</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int&nbsp;</span><span class="phpdocumentor-signature__argument__name">$versionNumber</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  629. <div class="phpdocumentor-label-line">
  630. </div>
  631. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  632. <dl class="phpdocumentor-argument-list">
  633. <dt class="phpdocumentor-argument-list__entry">
  634. <span class="phpdocumentor-signature__argument__name">$versionNumber</span>
  635. : <span class="phpdocumentor-signature__argument__return-type">int</span>
  636. </dt>
  637. <dd class="phpdocumentor-argument-list__definition">
  638. </dd>
  639. </dl>
  640. <section>
  641. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  642. <span class="phpdocumentor-signature__response_type">int</span>
  643. </section>
  644. </article>
  645. <article
  646. class="phpdocumentor-element
  647. -method
  648. -private
  649. "
  650. >
  651. <h4 class="phpdocumentor-element__name" id="method_parseInt">
  652. parseInt()
  653. <a href="classes/chillerlan-QRCode-Data-Number.html#method_parseInt" class="headerlink"><i class="fas fa-link"></i></a>
  654. </h4>
  655. <aside class="phpdocumentor-element-found-in">
  656. <abbr class="phpdocumentor-element-found-in__file" title="src/Data/Number.php"><a href="files/src-data-number.html"><abbr title="src/Data/Number.php">Number.php</abbr></a></abbr>
  657. :
  658. <span class="phpdocumentor-element-found-in__line">100</span>
  659. </aside>
  660. <p class="phpdocumentor-summary">get the code for the given numeric string</p>
  661. <code class="phpdocumentor-code phpdocumentor-signature ">
  662. <span class="phpdocumentor-signature__visibility">private</span>
  663. <span class="phpdocumentor-signature__name">parseInt</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string&nbsp;</span><span class="phpdocumentor-signature__argument__name">$string</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
  664. <div class="phpdocumentor-label-line">
  665. </div>
  666. <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
  667. <dl class="phpdocumentor-argument-list">
  668. <dt class="phpdocumentor-argument-list__entry">
  669. <span class="phpdocumentor-signature__argument__name">$string</span>
  670. : <span class="phpdocumentor-signature__argument__return-type">string</span>
  671. </dt>
  672. <dd class="phpdocumentor-argument-list__definition">
  673. </dd>
  674. </dl>
  675. <section>
  676. <h5 class="phpdocumentor-return-value__heading">Return values</h5>
  677. <span class="phpdocumentor-signature__response_type">int</span>
  678. </section>
  679. </article>
  680. </section>
  681. <div class="phpdocumentor-modal" id="source-view">
  682. <div class="phpdocumentor-modal-bg" data-exit-button></div>
  683. <div class="phpdocumentor-modal-container">
  684. <div class="phpdocumentor-modal-content">
  685. <pre style="max-height: 500px; overflow-y: scroll" data-src="files/src/Data/Number.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
  686. </div>
  687. <button data-exit-button class="phpdocumentor-modal__close">&times;</button>
  688. </div>
  689. </div>
  690. <script type="text/javascript">
  691. (function () {
  692. function loadExternalCodeSnippet(el, url, line) {
  693. Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
  694. const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
  695. const language = 'php';
  696. const code = document.createElement('code');
  697. code.className = 'language-' + language;
  698. pre.textContent = '';
  699. pre.setAttribute('data-line', line)
  700. code.textContent = 'Loading…';
  701. pre.appendChild(code);
  702. var xhr = new XMLHttpRequest();
  703. xhr.open('GET', src, true);
  704. xhr.onreadystatechange = function () {
  705. if (xhr.readyState !== 4) {
  706. return;
  707. }
  708. if (xhr.status < 400 && xhr.responseText) {
  709. code.textContent = xhr.responseText;
  710. Prism.highlightElement(code);
  711. return;
  712. }
  713. if (xhr.status === 404) {
  714. code.textContent = '✖ Error: File could not be found';
  715. return;
  716. }
  717. if (xhr.status >= 400) {
  718. code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
  719. return;
  720. }
  721. code.textContent = '✖ Error: An unknown error occurred';
  722. };
  723. xhr.send(null);
  724. });
  725. }
  726. const modalButtons = document.querySelectorAll("[data-modal]");
  727. const openedAsLocalFile = window.location.protocol === 'file:';
  728. if (modalButtons.length > 0 && openedAsLocalFile) {
  729. console.warn(
  730. 'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
  731. 'browsers block XHR requests when a page is opened this way'
  732. );
  733. }
  734. modalButtons.forEach(function (trigger) {
  735. if (openedAsLocalFile) {
  736. trigger.setAttribute("hidden", "hidden");
  737. }
  738. trigger.addEventListener("click", function (event) {
  739. event.preventDefault();
  740. const modal = document.getElementById(trigger.dataset.modal);
  741. if (!modal) {
  742. console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
  743. return;
  744. }
  745. modal.classList.add("phpdocumentor-modal__open");
  746. loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
  747. const exits = modal.querySelectorAll("[data-exit-button]");
  748. exits.forEach(function (exit) {
  749. exit.addEventListener("click", function (event) {
  750. event.preventDefault();
  751. modal.classList.remove("phpdocumentor-modal__open");
  752. });
  753. });
  754. });
  755. });
  756. })();
  757. </script>
  758. </article>
  759. </section>
  760. <section class="phpdocumentor-on-this-page__sidebar">
  761. <section class="phpdocumentor-on-this-page__content">
  762. <strong class="phpdocumentor-on-this-page__title">On this page</strong>
  763. <ul class="phpdocumentor-list -clean">
  764. <li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
  765. <li>
  766. <ul class="phpdocumentor-list -clean">
  767. <li><a href="classes/chillerlan-QRCode-Data-Number.html#toc-constants">Constants</a></li>
  768. <li><a href="classes/chillerlan-QRCode-Data-Number.html#toc-properties">Properties</a></li>
  769. <li><a href="classes/chillerlan-QRCode-Data-Number.html#toc-methods">Methods</a></li>
  770. </ul>
  771. </li>
  772. <li class="phpdocumentor-on-this-page-section__title">Constants</li>
  773. <li>
  774. <ul class="phpdocumentor-list -clean">
  775. <li><a href="classes/chillerlan-QRCode-Data-Number.html#constant_DATAMODE">DATAMODE</a></li>
  776. <li><a href="classes/chillerlan-QRCode-Data-Number.html#constant_NUMBER_TO_ORD">NUMBER_TO_ORD</a></li>
  777. </ul>
  778. </li>
  779. <li class="phpdocumentor-on-this-page-section__title">Properties</li>
  780. <li>
  781. <ul class="phpdocumentor-list -clean">
  782. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#property_data">$data<a href="classes/chillerlan-QRCode-Data-Number.html"></li>
  783. </ul>
  784. </li>
  785. <li class="phpdocumentor-on-this-page-section__title">Methods</li>
  786. <li>
  787. <ul class="phpdocumentor-list -clean">
  788. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method___construct">__construct()</a></li>
  789. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_convertEncoding">convertEncoding()</a></li>
  790. <li><a href="classes/chillerlan-QRCode-Data-Number.html#method_decodeSegment">decodeSegment()</a></li>
  791. <li><a href="classes/chillerlan-QRCode-Data-Number.html#method_getLengthInBits">getLengthInBits()</a></li>
  792. <li><a href="classes/chillerlan-QRCode-Data-Number.html#method_validateString">validateString()</a></li>
  793. <li><a href="classes/chillerlan-QRCode-Data-Number.html#method_write">write()</a></li>
  794. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getCharCount">getCharCount()</a></li>
  795. <li><a href="classes/chillerlan-QRCode-Data-QRDataModeAbstract.html#method_getLengthBits">getLengthBits()</a></li>
  796. <li><a href="classes/chillerlan-QRCode-Data-Number.html#method_parseInt">parseInt()</a></li>
  797. </ul>
  798. </li>
  799. </ul>
  800. </section>
  801. </section>
  802. </div>
  803. <section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
  804. <section class="phpdocumentor-search-results__dialog">
  805. <header class="phpdocumentor-search-results__header">
  806. <h2 class="phpdocumentor-search-results__title">Search results</h2>
  807. <button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
  808. </header>
  809. <section class="phpdocumentor-search-results__body">
  810. <ul class="phpdocumentor-search-results__entries"></ul>
  811. </section>
  812. </section>
  813. </section>
  814. </div>
  815. <a href="classes/chillerlan-QRCode-Data-Number.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
  816. </main>
  817. <script>
  818. cssVars({});
  819. </script>
  820. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
  821. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
  822. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
  823. <script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
  824. </body>
  825. </html>