Skip to content

Tcompressionstream.get_compressionrate

Get the current compression rate.

Declaration

Source position: zstream.pp line 77

public 
function Tcompressionstream.get_compressionrate : single;

Description

get_compressionrate returns the percentage of the number of written compressed bytes relative to the number of written bytes.

Errors

If no bytes were written, an exception is raised.