mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 08:11:33 -06:00
Major changes, including Brotli and Lizard
- update of zstd-mt library - add brotli v0.6.0 - add lizard v2.0 - xxhash is from zstd for lz4, lz5 and lizard now - update also the documentation, where needed
This commit is contained in:
@@ -469,6 +469,42 @@ HRESULT CHandler::SetMethodToProp(CNum folderIndex, PROPVARIANT *prop) const
|
||||
dest += MyStringLen(dest);
|
||||
}
|
||||
}
|
||||
else if (id == k_BROTLI)
|
||||
{
|
||||
name = "Brotli";
|
||||
if (propsSize == 3)
|
||||
{
|
||||
char *dest = s;
|
||||
*dest++ = 'v';
|
||||
ConvertUInt32ToString(props[0], dest);
|
||||
dest += MyStringLen(dest);
|
||||
*dest++ = '.';
|
||||
ConvertUInt32ToString(props[1], dest);
|
||||
dest += MyStringLen(dest);
|
||||
*dest++ = ',';
|
||||
*dest++ = 'l';
|
||||
ConvertUInt32ToString(props[2], dest);
|
||||
dest += MyStringLen(dest);
|
||||
}
|
||||
}
|
||||
else if (id == k_LIZARD)
|
||||
{
|
||||
name = "Lizard";
|
||||
if (propsSize == 3)
|
||||
{
|
||||
char *dest = s;
|
||||
*dest++ = 'v';
|
||||
ConvertUInt32ToString(props[0], dest);
|
||||
dest += MyStringLen(dest);
|
||||
*dest++ = '.';
|
||||
ConvertUInt32ToString(props[1], dest);
|
||||
dest += MyStringLen(dest);
|
||||
*dest++ = ',';
|
||||
*dest++ = 'l';
|
||||
ConvertUInt32ToString(props[2], dest);
|
||||
dest += MyStringLen(dest);
|
||||
}
|
||||
}
|
||||
else if (id == k_LZ4)
|
||||
{
|
||||
name = "LZ4";
|
||||
|
||||
Reference in New Issue
Block a user