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; }