static CharSequenceAdapter copy(CharSequenceAdapter other) { CharSequenceAdapter buf = new CharSequenceAdapter(other.sequence); buf._flimit = other._flimit; buf._fposition = other._fposition; buf._fmark = other._fmark; return buf; }
static CharSequenceAdapter copy(CharSequenceAdapter other) { CharSequenceAdapter buf = new CharSequenceAdapter(other.sequence); buf._flimit = other._flimit; buf._fposition = other._fposition; buf._fmark = other._fmark; return(buf); }
public override global::System.Object subSequence(int start, int end) { if (end < start || start < 0 || end > remaining()) { throw new System.IndexOutOfRangeException(); } CharSequenceAdapter result = copy(this); result._fposition = _fposition + start; result._flimit = _fposition + end; return(result); }