Update src/SharpCompress/Factories/ZStandardFactory.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Adam Hathcock
2026-01-16 09:29:13 +00:00
committed by GitHub
parent 394d982168
commit b9fccbd691

View File

@@ -32,5 +32,5 @@ internal class ZStandardFactory : Factory
string? password = null,
int bufferSize = ReaderOptions.DefaultBufferSize,
CancellationToken cancellationToken = default
) => new(IsArchive(stream, password, bufferSize));
) => ZStandardStream.IsZStandardAsync(stream, cancellationToken);
}