MCPcopy Create free account
hub / github.com/ReadyTalk/avian / skipBytes

Method skipBytes

classpath/java/io/ObjectInputStream.java:217–226  ·  view source on GitHub ↗
(int count)

Source from the content-addressed store, hash-verified

215 }
216
217 public int skipBytes(int count) throws IOException {
218 int i = 0;
219 while (i < count) {
220 if (read() < 0) {
221 return i;
222 }
223 ++i;
224 }
225 return count;
226 }
227
228 private static Class charToPrimitiveType(int c) {
229 if (c == 'B') {

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected