Skip to content

PKZip.ZipWriter.SetEntryContent

Andrew Lambert edited this page Oct 28, 2023 · 1 revision

PKZip.ZipWriter.SetEntryContent

Method Signatures

 Sub SetEntryContent(Path As String, Content As FolderItem)
 Sub SetEntryContent(Path As String, Content As MemoryBlock)
 Sub SetEntryContent(Path As String, Content As Readable, Length As UInt32)

Parameters

SetEntryContent(String, FolderItem)

Name Type Comment
Path String The entry to be commented upon.
Content FolderItem The FolderItem to read file content from.

SetEntryContent(String, MemoryBlock)

Name Type Comment
Path String The entry to be commented upon.
Content MemoryBlock The new file content of the entry.

SetEntryContent(String, Readable, UInt32)

Name Type Comment
Path String The entry to be commented upon.
Content Readable The stream to read file content from.
Length UInt32 The purported length in bytes of the file content.

Remarks

Sets the file contents for the entry, overwriting the previous content. The path of the entry does not change, only the contents.

Entry-level points of interest denoted by "☜"



Clone this wiki locally