[Overview][Types][Classes] |
Move stream position to a certain location in the stream.
Source position: zstream.pp line 88
public function TDecompressionStream.Seek( |
Offset: LongInt; |
Origin: Word |
):LongInt; override; |
Offset |
|
Offset to apply to the position in the stream |
Origin |
|
Origin from where Offsetshould be counted. |
New position in the stream
Seekoverrides the standard Seekimplementation. Normally, pipe streams stderr are not seekable. The TDecompressionStreamstream tries to provide seek capabilities for the following limited number of cases:
All other cases will result in a EPipeSeekexception.
An EDecompressionErrorexception is raised if the stream does not allow the requested seek operation.
|
Read data from the compressed stream |