- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 4
 
zlib.ZStream.CreatePipe
        Andrew Lambert edited this page Apr 17, 2021 
        ·
        13 revisions
      
     Shared Function CreatePipe(InputStream As Readable, 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| Name | Type | Comment | 
|---|---|---|
| InputStream | Readable | 
Compressed input will be read from this object | 
| OutputStream | Writeable | 
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. | 
| Encoding | Integer | Optional. The type of compression. | 
| MemoryLevel | Integer | Optional. The memory level. | 
A new instance of ZStream, or Nil on error
This method has been deprecated; do not use. Users needing equivalent functionality should create a custom subclass of ZStream and call its protected constructors instead.
Creates a compressed pipe from two endpoints, or a readable and writeable stream if both endpoints represent the same stream.
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.