[Overview][Constants][Types][Classes][Index] |
Set the stream position.
Source position: blowfish.pp line 79
public function TBlowFishDeCryptStream.Seek( |
const Offset: Int64; |
Origin: TSeekOrigin |
):Int64; override; |
Offset |
|
Offset. Only zero or positive values allowed. |
Origin |
|
Origin. Only soFromCurrent allowed. |
New position in the stream
Seek emulates a forward seek by reading and discarding data. The discarded data is lost. Since it is a forward seek, this means that only soFromCurrent can be specified for Origin with a positive (or zero) Offset value. All other values will result in an exception. The function returns the new position in the stream.
If any other combination of Offset and Origin than the allowed combination is specified, then an EBlowFishError exception will be raised.
|
Read data from the stream |
|
|
Exception used to report errors. |