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

Method getDataLength

text-to-qr/lib/phpqrcode/phpqrcode.php:401–404  ·  view source on GitHub ↗

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

($version, $level)

Source from the content-addressed store, hash-verified

399
400 //----------------------------------------------------------------------
401 public static function getDataLength($version, $level)
402 {
403 return self::$capacity[$version][QRCAP_WORDS] - self::$capacity[$version][QRCAP_EC][$level];
404 }
405
406 //----------------------------------------------------------------------
407 public static function getECCLength($version, $level)

Callers 2

getEccSpecMethod · 0.95
appendPaddingBitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected