-
-
Notifications
You must be signed in to change notification settings - Fork 3
PKZip.ZipWriter.Commit
Andrew Lambert edited this page Nov 26, 2022
·
5 revisions
Sub Commit(WriteTo As BinaryStream)
Sub Commit(WriteTo As FolderItem, Overwrite As Boolean = False)
Name | Type | Comment |
---|---|---|
WriteTo | BinaryStream | The stream to write the archive to. |
Name | Type | Comment |
---|---|---|
WriteTo | FolderItem | The file to write the archive to. |
Overwrite | Boolean | Optional. If True , then the WriteTo FolderItem is overwritten if it exists. |
Writes all entries to the archive file or stream.
Note: If you passed a Readable
object to the AppendEntry
method then you must remember to rewind the stream if you intend to call Commit
more than once (unless it was a BinaryStream
, which will be rewound automatically.)
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.