How Can i Get File Content as Byte array or as stream from Entries #166

Closed
opened 2026-01-29 22:07:42 +00:00 by claunia · 1 comment
Owner

Originally created by @ljdhameliya on GitHub (Apr 5, 2017).

Hello,
How can i get filecontent of extract file in entry
var archive = ArchiveFactory.Open("abc.zip");

            foreach (var entry in archive.Entries)
                {
                // how can get byte array or stream of file form entry 
                }

thanks in advance

Originally created by @ljdhameliya on GitHub (Apr 5, 2017). Hello, How can i get filecontent of extract file in entry var archive = ArchiveFactory.Open("abc.zip"); foreach (var entry in archive.Entries) { // how can get byte array or stream of file form entry } thanks in advance
Author
Owner

@adamhathcock commented on GitHub (May 31, 2017):

Look at the tests

@adamhathcock commented on GitHub (May 31, 2017): Look at the tests
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#166