public static async Task <ArchiveStreamReader> LoadFromStream(Stream archiveStream) { var info = await ArchiveInfo.ReadInfo(archiveStream); return(new ArchiveStreamReader(archiveStream, info)); }
public ArchiveStreamReader(Stream archiveStream, ArchiveInfo archiveInfo) { ArchiveStream = archiveStream; Info = archiveInfo; }