mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-25 16:34:45 +00:00
23 lines
511 B
C#
23 lines
511 B
C#
using System.Collections.Generic;
|
|
using System.IO;
|
|
using SharpCompress.Readers;
|
|
|
|
namespace SharpCompress.Common.GZip;
|
|
|
|
public partial class GZipEntry
|
|
{
|
|
internal static async IAsyncEnumerable<GZipEntry> GetEntriesAsync(
|
|
Stream stream,
|
|
ReaderOptions options
|
|
)
|
|
{
|
|
yield return new GZipEntry(
|
|
await GZipFilePart.CreateAsync(
|
|
stream,
|
|
options.ArchiveEncoding,
|
|
options.CompressionProviders
|
|
)
|
|
);
|
|
}
|
|
}
|