ZipStreamReader.readContent

void readContent(ref const EntryInfo entry, ContentSink sink)

Read entry content, calling sink with chunks of decompressed data.

Must be called for the current entry (most recently returned by nextEntry). Each entry's content can only be read once in streaming mode.

Parameters

entryThe entry whose content to read (must be current entry).
sinkDelegate called with decompressed data chunks.

Throws

ArchiveError if reader is closed, entry is not current, already read,

or decompression fails.