Skip to content

zlib.ZStream.Create

Andrew Lambert edited this page Aug 18, 2016 · 24 revisions

#zlib.ZStream.Create

##Method Signature

 Shared Function Create(OutputStream As Writeable, 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) As zlib.ZStream
 Shared Function Create(OutputStream As FolderItem, CompressionLevel As Integer = zlib.Z_DEFAULT_COMPRESSION, CompressionStrategy As Integer = zlib.Z_DEFAULT_STRATEGY, Overwrite As Boolean = False, WindowBits As Integer = zlib.DEFLATE_ENCODING, MemoryLevel As Integer = zlib.DEFAULT_MEM_LVL) As zlib.ZStream

##Parameters

Name Type Comment
OutputStream Writeable, FolderItem Compressed output will be written to this object
CompressionLevel Integer Optional. The compression level for the stream. Valid levels are 1(fast) to 9(best)
CompressionStrategy Integer Optional. The compression strategy for the stream.
WindowBits Integer Optional. The type of compression.
MemoryLevel Integer Optional. The memory level.

##Notes Creates a new deflate stream for writing. Compressed data will be written to the OutputStream object.

##See also

Entry-level points of interest denoted by "☜"



Clone this wiki locally