Compress files with zstd in archives
This commit is contained in:
parent
cfec92db18
commit
82201ffd4c
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -24,6 +24,8 @@ namespace Switch_Toolbox.Library.IO
|
||||
{
|
||||
case CompressionType.Yaz0:
|
||||
return EveryFileExplorer.YAZ0.Compress(data, 3, (uint)Alignment);
|
||||
case CompressionType.Zstb:
|
||||
return ZSTD.Compress(data);
|
||||
case CompressionType.None:
|
||||
return data;
|
||||
default:
|
||||
|
@ -221,6 +221,8 @@ namespace Switch_Toolbox.Library.IO
|
||||
else if (FileIsCompressed)
|
||||
CompressFile = true;
|
||||
|
||||
Console.WriteLine($"FileIsCompressed {FileIsCompressed} CompressFile {CompressFile} CompressionType {CompressionType}");
|
||||
|
||||
if (CompressFile)
|
||||
{
|
||||
switch (CompressionType)
|
||||
|
Loading…
Reference in New Issue
Block a user