MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / read

Method read

java/com/jcraft/jzlib/InflaterInputStream.java:82–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 private byte[] byte1 = new byte[1];
81
82 public int read() throws IOException {
83 if (closed) { throw new IOException("Stream closed"); }
84 return read(byte1, 0, 1) == -1 ? -1 : byte1[0] & 0xff;
85 }
86
87 public int read(byte[] b, int off, int len) throws IOException {
88 if (closed) { throw new IOException("Stream closed"); }

Callers 1

skipMethod · 0.95

Calls 3

fillMethod · 0.95
setOutputMethod · 0.80
inflateMethod · 0.45

Tested by

no test coverage detected