delete method

void delete(
  1. int start,
  2. int end
)

Implementation

void delete(int start, int end) {
  _initBuffer();
  super.clear();
  if (start > 0) super.write(_buffer!.substring(0, start));
  if (end < _buffer!.length - 1) super.write(_buffer!.substring(end));
  _buffer = null;
}