예제 #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;
 }