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



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

TDecompressionStream.Read

Read data from the compressed stream

Declaration

Source position: zstream.pp line 86

public function TDecompressionStream.Read(

  var Buffer;

  Count: LongInt

):LongInt; override;

Arguments

Buffer

  

Buffer in which to store the read data

Count

  

Maximum number of bytes to read.

Function result

Number of decompressed bytes that were actually read

Description

Read will read data from the compressed stream until the decompressed data size is Count or there is no more compressed data available. The decompressed data is written in Buffer. The function returns the number of bytes written in the buffer.

Errors

If an error occurs, an EDeCompressionError exception is raised.

See also

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