public function __construct(Token $previous = null, $totalBitCount, $value, $bitCount) { parent::__construct($previous, $totalBitCount); $this->value = $value; $this->bitCount = $bitCount; }
public static function createInitialState() { return new self(Token::createEmpty(), DynamicDataEncoder::MODE_UPPER, 0, 0); }
public function __construct(Token $previous = null, $totalBitCount, $shiftStart, $shiftByteCount) { parent::__construct($previous, $totalBitCount); $this->shiftStart = $shiftStart; $this->shiftByteCount = $shiftByteCount; }