-
-
Notifications
You must be signed in to change notification settings - Fork 4
zlib.ZStream.CreatePipe
Andrew Lambert edited this page Mar 2, 2017
·
13 revisions
##Method Signature
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##Parameters
| 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. |
##Notes Creates a compressed pipe from two endpoints, or a readable and writeable stream if both endpoints represent the same stream.
##See also
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.