public interface RepositionableStream
Modifier and Type | Method and Description |
---|---|
long |
position()
Returns the current stream position.
|
void |
position(long newPosition)
Sets the current stream position.
|
void position(long newPosition) throws IOException
newPosition
- the new stream position.IOException
long position() throws IOException
IOException