help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TWriteBufStream.Seek

Set stream position.

Declaration

Source position: bufstream.pp line 68

public function TWriteBufStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Offset (in bytes) of origin

Origin

  

Origin of seek operation

Function result

New position

Description

Seek always raises an EStreamError exception, except when the seek operation would not alter the current position.

A later implementation may perform a proper seek operation by flushing the buffer and doing a seek on the source stream.

See also

TWriteBufStream.Write

  

Write data to the stream

TWriteBufStream.Read

  

Read data from the stream

TReadBufStream.Seek

  

Set location in the buffer

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505