Sign in Join
FPDoc Onlineexperiment

TBase64DecodingStream.Seek function

Member of TBase64DecodingStreampublicIn unit Base64

Set stream position.

Declaration

pascal
function Seek(Offset: LongInt; Origin: Word): LongInt; override

Arguments

Offset

Offset, relative to origin.

Origin

Origin of the seek operation.

Function result

New absolute position in the stream.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.