mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-22 23:15:20 +00:00
fmt
This commit is contained in:
@@ -37,7 +37,15 @@ internal static partial class DecoderRegistry
|
||||
case K_LZMA:
|
||||
case K_LZMA2:
|
||||
return await LzmaStream
|
||||
.CreateAsync(info.NotNull(), inStreams.Single(), -1, limit, null, info.NotNull().Length < 5, false)
|
||||
.CreateAsync(
|
||||
info.NotNull(),
|
||||
inStreams.Single(),
|
||||
-1,
|
||||
limit,
|
||||
null,
|
||||
info.NotNull().Length < 5,
|
||||
false
|
||||
)
|
||||
.ConfigureAwait(false);
|
||||
case CMethodId.K_AES_ID:
|
||||
return new AesDecoderStream(inStreams.Single(), info.NotNull(), pass, limit);
|
||||
|
||||
@@ -75,7 +75,11 @@ internal static partial class DecoderRegistry
|
||||
case K_B_ZIP2:
|
||||
return BZip2Stream.Create(inStreams.Single(), CompressionMode.Decompress, true);
|
||||
case K_PPMD:
|
||||
return PpmdStream.Create(new PpmdProperties(info.NotNull()), inStreams.Single(), false);
|
||||
return PpmdStream.Create(
|
||||
new PpmdProperties(info.NotNull()),
|
||||
inStreams.Single(),
|
||||
false
|
||||
);
|
||||
case K_DEFLATE:
|
||||
return new DeflateStream(inStreams.Single(), CompressionMode.Decompress);
|
||||
case K_ZSTD:
|
||||
|
||||
Reference in New Issue
Block a user