Exemple #1
0
        public static async Task <ArchiveStreamReader> LoadFromStream(Stream archiveStream)
        {
            var info = await ArchiveInfo.ReadInfo(archiveStream);

            return(new ArchiveStreamReader(archiveStream, info));
        }
Exemple #2
0
 public ArchiveStreamReader(Stream archiveStream, ArchiveInfo archiveInfo)
 {
     ArchiveStream = archiveStream;
     Info          = archiveInfo;
 }