MCPcopy
hub / github.com/google/guava / read

Method read

guava/src/com/google/common/io/ReaderInputStream.java:122–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 @Override
123 public int read() throws IOException {
124 return (read(singleByte) == 1) ? toUnsignedInt(singleByte[0]) : -1;
125 }
126
127 // TODO(chrisn): Consider trying to encode/flush directly to the argument byte
128 // buffer when possible.

Callers 1

readMoreCharsMethod · 0.45

Calls 7

drainMethod · 0.95
clearMethod · 0.95
startDrainingMethod · 0.95
readMoreCharsMethod · 0.95
checkPositionIndexesMethod · 0.45
flushMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected