Write data to the stream.
Source position: zstream.pp line 75
public function Tcompressionstream.write( |
const buffer; |
count: LongInt |
):LongInt; override; |
buffer |
|
Buffer to take data from. |
count |
|
Number of bytes to take from the buffer. |
Number of (uncompressed) bytes actually written.
Write takes Count bytes from Buffer and compresses (deflates) them. The compressed result is written to the output stream.
If an error occurs, an ECompressionError exception is raised.
|
Write data to the stream. |
|
|
Errors in the TCompressionStream class are signaled with this exception. |