public interface ISeekableStream
Modifier and Type | Method and Description |
---|---|
long |
getLength()
Gets the length in bytes of this stream.
|
long |
getPosition()
Gets the current position of this stream.
|
void |
setLength(long length)
Sets the length of this stream.
|
void |
setPosition(long position)
Sets the current position of this stream.
|
long getPosition()
void setPosition(long position)
position
- The new position of this stream.long getLength()
void setLength(long length)
length
- The new length of this stream in bytes.