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

Method read

output/java_guava/1.4.16/MultiReader.java:54–65  ·  view source on GitHub ↗
(@Nullable char cbuf[], int off, int len)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

advanceMethod · 0.95

Tested by

no test coverage detected