cut method

void cut(
  1. int position
)

Implementation

void cut(int position) {
  if (position < start || position > end) {
    throw RangeError.range(position, start, end, 'position');
  }

  if (_buffering == 0) {
    _cuttingPosition = position;
  }
}