267268269270271272273274275276277
int ce = -1; while (limit <= 0 || result.length() < limit) { int sepOffset = result.length() - sep.getRealSize(); if (sepOffset >= 0 && result.startsWith(sep, sepOffset)) break; ce = bufferedStream.read(); if (ce == -1) break;