A source is a stream that can be read from.
A sink is a stream that can be written to.
A stream that is both a Source and a Sink.
A seekable stream can move the read/write starting position in the stream.
Seeks to the specified offset relative to the given starting location.
long offset | The offset relative to from. |
From from | The relative position to seek to. |