reset

open override fun reset()

See the general contract of the reset method of InputStream.

If markpos is -1 (no mark has been set or the mark has been invalidated), an IOException is thrown. Otherwise, pos is set equal to markpos.

See also

java.io.BufferedInputStream.mark

Throws

IOException

if this stream has not been marked or, if the mark has been invalidated, or the stream has been closed by invoking its .close method, or an I/O error occurs.