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

Method read

output/java_guava/1.4.18/BaseEncoding.java:984–991  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

982 checkNotNull(toIgnore);
983 return new Reader() {
984 @Override
985 public int read() throws IOException {
986 int readChar;
987 do {
988 readChar = delegate.read();
989 } while (readChar != -1 && toIgnore.matches((char) readChar));
990 return readChar;
991 }
992
993 @Override
994 public int read(char[] cbuf, int off, int len) throws IOException {

Callers 1

readMethod · 0.45

Calls 1

matchesMethod · 0.45

Tested by

no test coverage detected