MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / readByte

Method readByte

src/class154/FollowUp1.java:167–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

165 }
166
167 private int readByte() throws IOException {
168 if (ptr >= len) {
169 len = in.read(buffer);
170 ptr = 0;
171 if (len <= 0)
172 return -1;
173 }
174 return buffer[ptr++];
175 }
176
177 int nextInt() throws IOException {
178 int c;

Callers 1

nextIntMethod · 0.95

Calls 1

readMethod · 0.45

Tested by

no test coverage detected