Files
sharpcompress/src/SharpCompress/Common/GZip/GZipEntry.Async.cs
Adam Hathcock 9c7d27d1e0 more providers
2026-02-09 07:34:00 +00:00

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
)
);
}
}