reset

open fun reset()

Resets this stream to the last marked location.

See also

mark(int)

Throws

if this stream is closed, no mark has been put or the mark is no longer valid because more than readlimit bytes have been read since setting the mark.