Tdecompressionstream.read¶
Read data from the compressed stream.
Declaration¶
Source position: zstream.pp line 90
public
function Tdecompressionstream.read(var buffer; count: LongInt) : LongInt
; override;
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.