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



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

TCompressionStream.Write

Write data to the stream

Declaration

Source position: zstream.pp line 72

public function TCompressionStream.Write(

  const Buffer;

  Count: LongInt

):LongInt; override;

Arguments

Buffer

  

Buffer to take data from.

Count

  

Number of bytes to take from the buffer.

Function result

Number of (uncompressed) bytes actually written

Description

Write takes Count bytes from Buffer and comresseses (deflates) them. The compressed result is written to the output stream.

Errors

If an error occurs, an ECompressionError exception is raised.

See also

Read

  

Overridden to raise an exception.

Seek

  

Overrides seek to raise an exception.

Notes

 No notes exist for this page yet. 





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