Skip to content

zlib.Deflater.Constructor

Andrew Lambert edited this page Oct 30, 2016 · 12 revisions

#zlib.Deflater.Constructor

##Method Signatures

 Sub Constructor(CompressionLevel As Integer = zlib.Z_DEFAULT_COMPRESSION, CompressionStrategy As Integer = zlib.Z_DEFAULT_STRATEGY, WindowBits 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 1(fast) to 9(best)
CompressionStrategy Integer Optional. The compression strategy for the output.
WindowBits 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

##Notes Constructs a new Deflater, or duplicates an existing Deflater.

Entry-level points of interest denoted by "☜"



Clone this wiki locally