Update StreamNetInput

Add mark, markSupported, skip
This commit is contained in:
ipbeegle 2020-05-25 02:03:44 -04:00
parent e3208ef4e8
commit 3072587bc7

View file

@ -261,4 +261,16 @@ public class StreamNetInput implements NetInput {
public int available() throws IOException { public int available() throws IOException {
return this.in.available(); return this.in.available();
} }
public void mark(int readLimit) {
this.in.mark(readLimit);
}
public boolean markSupported() {
return this.in.markSupported();
}
public long skip(long n) throws IOException {
return this.in.skip(n);
}
} }