-
-
Notifications
You must be signed in to change notification settings - Fork 1
BZip2.BZ2Stream.Create
Andrew Lambert edited this page Nov 27, 2022
·
2 revisions
Shared Function Create(OutputStream As Writeable, CompressionLevel As Integer = BZip2.Z_DEFAULT_COMPRESSION) As BZip2.BZ2Stream
Shared Function Create(OutputStream As FolderItem, CompressionLevel As Integer = BZip2.Z_DEFAULT_COMPRESSION, Overwrite As Boolean = False) As BZip2.BZ2Stream
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. |
A new instance of BZ2Stream, or Nil on error
Creates a new BZip2 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 ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.