src/qrspec.php
public static function getDataLength($version, $level)
        {
            return self::$capacity[$version][QRCAP_WORDS] - self::$capacity[$version][QRCAP_EC][$level];
        }
public static function getDataLength($version, $level)
        {
            return self::$capacity[$version][QRCAP_WORDS] - self::$capacity[$version][QRCAP_EC][$level];
        }
public static function getDataLength ( $ version , $ level ) { return self :: $ capacity [ $ version ] [ QRCAP_WORDS ] - self :: $ capacity [ $ version ] [ QRCAP_EC ] [ $ level ] ; }
Calculates data length for specified code configuration.
@param Integer $version Code version
@param Integer $level ECC level
@returns Code data capacity
Calculates data length for specified code configuration .