Sign in Join
FPDoc Onlineexperiment

Tdecompressionstream.get_compressionrate function

Member of TdecompressionstreampublicIn unit ZStream

Get the current compression rate.

Declaration

pascal
function get_compressionrate: single

Function result

Percentage of compression.

Description

get_compressionrate returns the percentage of the number of read compressed bytes relative to the total number of read bytes.

Errors

If no bytes were written, an exception is raised.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.