Searched refs:numChars (Results 1 – 1 of 1) sorted by relevance
271 int numChars = 0; in readStream() local273 while (numChars < maxLength && readSize != -1) { in readStream()274 numChars += readSize; in readStream()275 int pct = (100 * numChars) / maxLength; in readStream()277 readSize = reader.read(buffer, numChars, buffer.length - numChars); in readStream()279 if (numChars != -1) { in readStream()283 numChars = Math.min(numChars, maxLength); in readStream()284 result = new String(buffer, 0, numChars); in readStream()