MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / read

Method read

src/main/java/io/SOCKS5Stream.java:40–46  ·  view source on GitHub ↗
(byte[] buf)

Source from the content-addressed store, hash-verified

38 }
39
40 public int read(byte[] buf) throws IOException {
41
42 int avail = inpStream.available();
43 if (avail==0) return 0;
44 if (avail>buf.length) avail=buf.length;
45 return inpStream.read(buf, 0, avail);
46 }
47
48 public void flush() throws IOException {
49 outStream.flush();

Callers 14

copyToFileMethod · 0.45
getImageMethod · 0.45
createImageMethod · 0.45
getStreamAsByteArrayMethod · 0.45
readLineMethod · 0.45
readHeaderMethod · 0.45
readRecordMethod · 0.45
MessageParserMethod · 0.45
runMethod · 0.45
importDataMethod · 0.45
loadMethod · 0.45
readByteBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected