[Overview][Constants][Classes][Index] |
Reposition the stream
Source position: streamex.pp line 179
public function TWindowedStream.Seek( |
const aOffset: Int64; |
aOrigin: TSeekorigin |
):Int64; override; |
aOffset |
|
offset to seek relative to aOffset. |
aOrigin |
|
Origin of the operation, in the windowed stream |
The new position in the windowed stream.
Seek will reposition the windowed stream based on aOffset and aOrigin. It will interpret AOrigin and aOffset relative to the position and size of the window, and will then call Seek on the source stream. It will return the new position in the windowed stream.
If the source stream does not support seek operations, an exception may be raises. If the combination of AOrigin and aOffset falls outside the valid window of the stream, an EReadError exception is raised.
|
Read data from the stream |
|
|
Read data to the stream |