[Overview][Classes] Reference for unit 'base64' (#fcl)

TBase64EncodingStream.Seek

Position the stream

Declaration

Source position: base64.pp line 40

public function TBase64EncodingStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Offset from origin

Origin

  

Origin for the seek operation.

Function result

New position in the stream

Description

Seekalways raises an EStreamErrorexception unless the arguments it received it don't change the current file pointer position. The encryption stream is not seekable.

Errors

An EStreamErrorerror is raised.

See also

TBase64EncodingStream.Read

  

Read data from the stream

TBase64EncodingStream.Write

  

Write data to the stream.

TStream.Seek