State constructor

State(
  1. Token _token,
  2. HighLevelEncoderMode _mode,
  3. int _binaryShiftByteCount,
  4. int _bitCount, [
  5. int? binaryShiftCost,
])

Implementation

State(
  this._token,
  this._mode,
  this._binaryShiftByteCount,
  this._bitCount, [
  int? binaryShiftCost,
]) : _binaryShiftCost =
          binaryShiftCost ?? _calculateBinaryShiftCost(_binaryShiftByteCount);