Skip to content

zlib.Deflater.CompressBound

Andrew Lambert edited this page Apr 17, 2021 · 8 revisions

zlib.Deflater.CompressBound

Method Signature

 Function CompressBound(DataLength As UInt32) As UInt32

Remarks

Computes the upper bound of the compressed size after deflation of DataLength bytes given the current state and options of the compressor. This allows you to determine the maximum number of bytes that the algorithm might produce in a worst-case scenario.

See also

Entry-level points of interest denoted by "☜"



Clone this wiki locally