src/Biz/Util/Phpsec/File/ANSI.php

(开头部分) 1KB

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

<?php

/**
 * Pure-PHP ANSI Decoder.
 *
 * PHP version 5
 *
 * If you call read() in \Biz\Util\Phpsec\Net\SSH2 you may get {@link http://en.wikipedia.org/wiki/ANSI_escape_code ANSI escape codes} back.
 * They'd look like chr(0x1B) . '[00m' or whatever (0x1B = ESC).  They tell a
 * {@link http://en.wikipedia.org/wiki/Terminal_emulator terminal emulator} how to format the characters, what
 * color to display them in, etc. \Biz\Util\Phpsec\File\ANSI is a {@link http://en.wikipedia.org/wiki/VT100 VT100} terminal emulator.
 *
 * @category  File
 *
 * @author    Jim Wigginton <terrafrost@php.net>
 * @copyright 2012 Jim Wigginton
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
 *
 * @see      http://phpseclib.sourceforge.net
 */

namespace Biz\Util\Phpsec\File;

/**
 * Pure-PHP ANSI Decoder.
 *
 *
 * @author  Jim Wigginton <terrafrost@php.net>
 */
class ANSI
{
    /**
     * Max Width.
     *
     * @var int
     */
    public $max_x;

    /**
     * Max Height.
     *
     * @var int
     */
    public $max_y;

    /**
     * Max History.
     *
     * @var int
     */
    public $max_history;

    /**
     * History.
     *
     * @var array
     */
    public $history;

    /**

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

AI 解读 AI

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

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