public interface XBSeekableStream
Modifier and Type | Method and Description |
---|---|
long |
getPositionXB()
Returns current position in stream.
|
long |
getStreamSizeXB()
Returns length of stream.
|
void |
seekXB(long position)
Moves position in stream to given position from the start of the stream.
|
void seekXB(long position) throws java.io.IOException
position
- target positionjava.io.IOException
- if input/output errorlong getPositionXB()
long getStreamSizeXB()