Tcompressionstream.write function
Write data to the stream.
Declaration
function write(const buffer; count: LongInt): LongInt; overrideArguments
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 compresses (deflates) them. The compressed result is written
to the output stream.Errors
If an error occurs, an ECompressionError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
