MCPcopy Create free account
hub / github.com/codemistic/Web-Development / eatKanji

Method eatKanji

text-to-qr/lib/phpqrcode/qrsplit.php:177–190  ·  view source on GitHub ↗

----------------------------------------------------------------------

()

Source from the content-addressed store, hash-verified

175
176 //----------------------------------------------------------------------
177 public function eatKanji()
178 {
179 $p = 0;
180
181 while($this->identifyMode($p) == QR_MODE_KANJI) {
182 $p += 2;
183 }
184
185 $ret = $this->input->append(QR_MODE_KANJI, $p, str_split($this->dataStr));
186 if($ret < 0)
187 return -1;
188
189 return $run;
190 }
191
192 //----------------------------------------------------------------------
193 public function eat8()

Callers 1

splitStringMethod · 0.95

Calls 3

identifyModeMethod · 0.95
str_splitFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected