limit property

int get limit

Implementation

int get limit => _limit;
set limit (int value)

Implementation

set limit(int value) {
  if (value < 0 || value > _bytes.length) throw RangeError("limit $value out of bounds (capacity ${_bytes.length})");
  _limit = value;
  if (_position > _limit) _position = _limit;
}