vendor/bacon/bacon-qr-code/src/BaconQrCode/Common/Version.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php
/**
 * BaconQrCode
 *
 * @link      http://github.com/Bacon/BaconQrCode For the canonical source repository
 * @copyright 2013 Ben 'DASPRiD' Scholzen
 * @license   http://opensource.org/licenses/BSD-2-Clause Simplified BSD License
 */

namespace BaconQrCode\Common;

use SplFixedArray;

/**
 * Version representation.
 */
class Version
{
    /**
     * Version decode information.
     *
     * @var array
     */
    protected static $versionDecodeInfo = array(
        0x07c94, 0x085bc, 0x09a99, 0x0a4d3, 0x0bbf6, 0x0c762, 0x0d847, 0x0e60d,
        0x0f928, 0x10b78, 0x1145d, 0x12a17, 0x13532, 0x149a6, 0x15683, 0x168c9,
        0x177ec, 0x18ec4, 0x191e1, 0x1afab, 0x1b08e, 0x1cc1a, 0x1d33f, 0x1ed75,
        0x1f250, 0x209d5, 0x216f0, 0x228ba, 0x2379f, 0x24b0b, 0x2542e, 0x26a64,
        0x27541, 0x28c69
    );

    /**
     * Cached version instances.
     *
     * @var array
     */
    protected static $versions = array();

    /**
     * Version number of this version.
     *
     * @var integer
     */
    protected $versionNumber;

    /**
     * Alignment pattern centers.
     *
     * @var SplFixedArray
     */
    protected $alignmentPatternCenters;

    /**
     * Error correction blocks.
     *
     * @var SplFixedArray
     */
    protected $errorCorrectionBlocks;

    /**

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。