MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getChar

Method getChar

src/main/java/core/org/xbill/DNS/Tokenizer.java:180–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178}
179
180private int
181getChar() throws IOException {
182 int c = is.read();
183 if (c == '\r') {
184 int next = is.read();
185 if (next != '\n')
186 is.unread(next);
187 c = '\n';
188 }
189 if (c == '\n')
190 line++;
191 return c;
192}
193
194private void
195ungetChar(int c) throws IOException {

Callers 2

skipWhitespaceMethod · 0.95
getMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected