int () { if (myPos == myStartOffset || myPos < myEndOffset && myBuffer.charAt(myPos) != MARK) { return myEndOffset; } int i = myPos + 1; while (i < myEndOffset && myBuffer.charAt(i) != MARK) { i++; } return i; }