MCPcopy Create free account
hub / github.com/google/guava / read

Method read

android/guava/src/com/google/common/io/MultiReader.java:52–64  ·  view source on GitHub ↗
(char[] cbuf, int off, int len)

Source from the content-addressed store, hash-verified

50 }
51
52 @Override
53 public int read(char[] cbuf, int off, int len) throws IOException {
54 checkNotNull(cbuf);
55 if (current == null) {
56 return -1;
57 }
58 int result = current.read(cbuf, off, len);
59 if (result == -1) {
60 advance();
61 return read(cbuf, off, len);
62 }
63 return result;
64 }
65
66 @Override
67 public long skip(long n) throws IOException {

Callers

nothing calls this directly

Calls 2

advanceMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected