public interface Seekable extends Positioned
Modifier and Type | Method and Description |
---|---|
void |
seek(long pos)
Moves the starting read position of the stream to the specified position which is relative to
the start of the stream.
|
getPos
void seek(long pos) throws IOException
pos
- the position to seek to, it must be between 0 and the end of the stream - 1IOException
Copyright © 2023. All Rights Reserved.