Set position on the stream.
Source position: idea.pp line 114
public function TIDEADeCryptStream.Seek( |
const Offset: Int64; |
Origin: TSeekOrigin |
):Int64; 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 will only work on a forward seek. It emulates a forward seek by reading and discarding bytes from the input stream. The TIDEADecryptStream stream tries to provide seek capabilities for the following limited number of cases:
An EIDEAError exception is raised if the stream does not allow the requested seek operation.
|
Reads data from the stream, decrypting it as needed. |