reset
Resets the stream to the most recent mark:contentReferenceoaicite:20{index=20}. After reset, the stream will read input from the point where mark was last called. If the stream has not been marked or if the mark was invalidated due to reading beyond the read-ahead limit, an IOException is thrown:contentReferenceoaicite:21{index=21}.
Throws
IOException
if the stream has never been marked, or if the mark has been invalidated:contentReferenceoaicite:22{index=22}.