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



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

TCompressionStream.Read

Overridden to raise an exception.

Declaration

Source position: zstream.pp line 71

public function TCompressionStream.Read(

  var Buffer;

  Count: LongInt

):LongInt; override;

Arguments

Buffer

  

Buffer to read data to

Count

  

Number of bytes to read

Function result

Number of bytes actually read

Description

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

Errors

An ECompressionError exception is raised.

See also

ECompressionError

  

Errors in the TCompressionStream class are signaled with this exception

TCompressionStream.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