[Overview][Types][Classes][Index] |
Read data from the compressed stream
Source position: zstream.pp line 82
public function Tdecompressionstream.read( |
var buffer; |
count: LongInt |
):LongInt; override; |
buffer |
|
Buffer in which to store the read data |
count |
|
Maximum number of bytes to read. |
Number of decompressed bytes that were actually read
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.
If an error occurs, an EDeCompressionError exception is raised.
|
Write data to the stream |