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

Method skip

java/com/jcraft/jzlib/ZInputStream.java:96–102  ·  view source on GitHub ↗
(long n)

Source from the content-addressed store, hash-verified

94 }
95
96 public long skip(long n) throws IOException {
97 int len=512;
98 if(n<len)
99 len=(int)n;
100 byte[] tmp=new byte[len];
101 return((long)read(tmp));
102 }
103
104 public int getFlushMode() {
105 return flush;

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected