MCPcopy Index your code
hub / github.com/boazy/TWEditorEnhanced / skip

Method skip

src/main/java/ResourceInputStream.java:79–88  ·  view source on GitHub ↗
(long count)

Source from the content-addressed store, hash-verified

77 }
78
79 public long skip(long count)
80 throws IOException
81 {
82 if (this.in == null) {
83 throw new IOException("Input stream closed");
84 }
85 long skipped = this.in.skip(Math.min(count, this.residualLength));
86 this.residualLength = ((int)(this.residualLength - skipped));
87 return skipped;
88 }
89
90 protected void finalize()
91 {

Callers 3

SaveInputStreamMethod · 0.80
ResourceInputStreamMethod · 0.80
saveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected