Method
UnbufferedStream::rewind
Seek to the beginning of the stream.
Description#
public UnbufferedStream::rewind(): voidIf the stream is not seekable, this method will raise an exception; otherwise, it will perform a seek(0).
Errors / Exceptions#
| Exception | When |
|---|---|
RuntimeException | On failure. |
See also#
UnbufferedStream::seekSeek to a position in the stream.