[Overview][Types][Classes] | Reference for unit 'zstream' (#fcl) |
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 Offset should be counted. |
New position in the stream
Seek overrides the standard Seek implementation. Normally, pipe streams stderr are not seekable. The TDecompressionStream stream tries to provide seek capabilities for the following limited number of cases:
All other cases will result in a EPipeSeek exception.
An EDecompressionError exception is raised if the stream does not allow the requested seek operation.
|
Read data from the compressed stream |
No notes exist for this page yet.