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

Method checkModeAn

text-to-qr/lib/phpqrcode/qrinput.php:439–448  ·  view source on GitHub ↗

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

($size, $data)

Source from the content-addressed store, hash-verified

437
438 //----------------------------------------------------------------------
439 public static function checkModeAn($size, $data)
440 {
441 for($i=0; $i<$size; $i++) {
442 if (self::lookAnTable(ord($data[$i])) == -1) {
443 return false;
444 }
445 }
446
447 return true;
448 }
449
450 //----------------------------------------------------------------------
451 public static function estimateBitsModeAn($size)

Callers 1

checkMethod · 0.95

Calls 1

lookAnTableMethod · 0.95

Tested by

no test coverage detected