- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 4
 
zlib.ZStream.Create
        Andrew Lambert edited this page Mar 21, 2017 
        ·
        24 revisions
      
     Shared Function Create(OutputStream As Writeable, 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) 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, Encoding As Integer = zlib.DEFLATE_ENCODING, MemoryLevel As Integer = zlib.DEFAULT_MEM_LVL) As zlib.ZStream| 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) | 
| Overwrite | Boolean | Optional. If True, the OutputStream FolderItem is overwritten if it exists. | 
| CompressionStrategy | Integer | Optional. The compression strategy for the stream. | 
| Encoding | Integer | Optional. The type of compression. | 
| MemoryLevel | Integer | Optional. The memory level. | 
Creates a new deflate stream for writing. Compressed data will be written to the OutputStream object.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.