mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Update StreamNetInput
Add mark, markSupported, skip
This commit is contained in:
parent
e3208ef4e8
commit
3072587bc7
1 changed files with 12 additions and 0 deletions
|
@ -261,4 +261,16 @@ public class StreamNetInput implements NetInput {
|
|||
public int available() throws IOException {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue