Skip to content

zlib.Deflater.Constructor

Andrew Lambert edited this page Jun 11, 2018 · 12 revisions

zlib.Deflater.Constructor

Method Signatures

 Sub Constructor(CompressionLevel As Integer = zlib.Z_DEFAULT_COMPRESSION, CompressionStrategy As Integer = zlib.Z_DEFAULT_STRATEGY, Encoding As Integer = zlib.DEFLATE_ENCODING, MemoryLevel As Integer = zlib.DEFAULT_MEM_LVL)
 Sub Constructor(CopyStream As zlib.Deflater)

Parameters

Constructor(Integer, Integer, Integer, Integer)

Name Type Comment
CompressionLevel Integer Optional. The compression level for the output. Valid levels are 0 (none), or 1(fast) to 9(best)
CompressionStrategy Integer Optional. The compression strategy for the output.
Encoding Integer Optional. The type of compression.
MemoryLevel Integer Optional. The memory level.

Constructor(zlib.Deflater)

Name Type Comment
CopyStream zlib.Deflater An instance of Deflater to duplicate

Remarks

Constructs a new Deflater, or duplicates an existing Deflater.

Entry-level points of interest denoted by "☜"



Clone this wiki locally