MCPcopy Create free account
hub / github.com/antlr/codebuff / read

Method read

corpus/java/training/guava/io/MultiReader.java:52–63  ·  view source on GitHub ↗
(@Nullable char cbuf[], int off, int len)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

advanceMethod · 0.95

Tested by

no test coverage detected