[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Reads and decompresses data from a compressed data stream.
Source position: zstream.pp line 68
type Tdecompressionstream = class(Tcustomzlibstream) |
||
protected |
||
raw_read: LongInt; |
||
compressed_read: LongInt; |
||
skipheader: Boolean; |
||
procedure reset; |
||
function GetPosition; override; |
||
public |
||
constructor create(); |
|
Creates a new instance of the TDecompressionStream stream |
destructor destroy; override; |
|
Destroys the TDecompressionStream instance |
function read(); override; |
|
Read data from the compressed stream |
function seek(); override; |
|
Move stream position to a certain location in the stream. |
function get_compressionrate; |
|
Get the current compression rate |
end; |
|
Reads and decompresses data from a compressed data stream. |
|
| | ||
|
Ancestor for compression and decompression classes |
|
| | ||
| | ||
| | ||
TDecompressionStream performs the inverse operation of TCompressionStream. A read operation reads data from an input stream and decompresses (inflates) the data it as it goes along.
The decompression stream reads it's compressed data from a stream with deflated data. This data can be created e.g. with a TCompressionStream compression stream.
|
Write-only stream class which compresses data written to it. |
lazarus-ccr.sourceforge.net |