示例#1
0
 public function __construct(Token $previous = null, $totalBitCount, $value, $bitCount)
 {
     parent::__construct($previous, $totalBitCount);
     $this->value = $value;
     $this->bitCount = $bitCount;
 }
示例#2
0
文件: State.php 项目: kedarv/metzli
 public static function createInitialState()
 {
     return new self(Token::createEmpty(), DynamicDataEncoder::MODE_UPPER, 0, 0);
 }
示例#3
0
 public function __construct(Token $previous = null, $totalBitCount, $shiftStart, $shiftByteCount)
 {
     parent::__construct($previous, $totalBitCount);
     $this->shiftStart = $shiftStart;
     $this->shiftByteCount = $shiftByteCount;
 }