text: public void Replace(int start, int length, string text) {int charsLen = text.Length;int newLength = ShiftForReplace(start, length + start, charsLen); text.CopyTo(0, buffer, start, charsLen);token.Length = (this.length = newLength);}