Skip to content

TBase64DecodingStream.Seek

Set stream position.

Declaration

Source position: base64.pp line 111

public 
function TBase64DecodingStream.Seek(Offset: LongInt; Origin: Word)
                                    : LongInt;  override;

Description

Seek sets the position of the stream. In the TBase64DecodingStream class, the seek operation is forward only, it does not support backward seeks. The forward seek is emulated by reading and discarding data till the desired position is reached.

For an explanation of the parameters, see TStream.Seek

Errors

In case of an unsupported operation, an EStreamError exception is raised.

See also

Name Description
TBase64DecodingStream.Read Read and decrypt data from the source stream.
TBase64EncodingStream.Seek Position the stream.
TStream.Seek