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



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

TCompressionStream.Seek

Overrides seek to raise an exception.

Declaration

Source position: zstream.pp line 73

public function TCompressionStream.Seek(

  Offset: LongInt;

  Origin: Word

):LongInt; override;

Arguments

Offset

  

Offset to move stream position

Origin

  

Origin of seek operation.

Function result

New location after seek

Description

The Seek method of TStream is overridden, and always raises an exception, because TCompressionStream is write-only, and cannot seek.

Errors

An ECompressionError exception is raised.

See also

ECompressionError

  

Errors in the TCompressionStream class are signaled with this exception

Read

  

Overridden to raise an exception.

Write

  

Write data to the stream

Notes

 No notes exist for this page yet. 





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