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

Method read

classpath/java/io/BufferedInputStream.java:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 }
32
33 public int read() throws IOException {
34 if (position >= limit) {
35 fill();
36 if (limit == -1) {
37 return -1;
38 }
39 }
40
41 return buffer[position++] & 0xFF;
42 }
43
44 public int read(byte[] b, int offset, int length) throws IOException {
45 int count = 0;

Callers

nothing calls this directly

Calls 4

fillMethod · 0.95
arraycopyMethod · 0.95
readMethod · 0.65
availableMethod · 0.65

Tested by

no test coverage detected