/guava/android/guava/src/com/google/common/io/ReaderInputStream.java
short numChars = reader.read( charBuffer.array( ) , limit, availableCapacity( charBuffer) ) ;
int numChars = reader.read ( charBuffer.array ( ) , limit, availableCapacity ( charBuffer ) ) ;
Java8Compatibility.flip(charBuffer.compact()); } else { charBuffer = grow(charBuffer); } } int limit = charBuffer.limit(); <extra_id_0> if (numChars == -1) { endOfInput = true; } else { Java8Compatibility.limit(charBuffer, limit + numChars); } }