From f2adf41dd21d4ba183f1c0fc001c349fd44daa34 Mon Sep 17 00:00:00 2001 From: ipbeegle Date: Mon, 25 May 2020 02:42:11 -0400 Subject: [PATCH] Add reset method to StreamNetInput --- .../github/steveice10/packetlib/io/stream/StreamNetInput.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/github/steveice10/packetlib/io/stream/StreamNetInput.java b/src/main/java/com/github/steveice10/packetlib/io/stream/StreamNetInput.java index 957f9e1f..97c95e2b 100644 --- a/src/main/java/com/github/steveice10/packetlib/io/stream/StreamNetInput.java +++ b/src/main/java/com/github/steveice10/packetlib/io/stream/StreamNetInput.java @@ -270,6 +270,10 @@ public class StreamNetInput implements NetInput { return this.in.markSupported(); } + public void reset() throws IOException { + this.in.reset(); + } + public long skip(long n) throws IOException { return this.in.skip(n); }