- [Core] Added new entries.

This commit is contained in:
Razmoth
2024-02-28 16:28:36 +04:00
parent 566444132c
commit c27ebec10e
9 changed files with 141 additions and 153 deletions

View File

@@ -0,0 +1,9 @@
using System;
namespace AssetStudio;
public class LZ4Inv : LZ4
{
public new static LZ4Inv Instance => new();
protected override (int encCount, int litCount) GetLiteralToken(ReadOnlySpan<byte> cmp, ref int cmpPos) => ((cmp[cmpPos] >> 4) & 0xf, (cmp[cmpPos++] >> 0) & 0xf);
protected override int GetChunkEnd(ReadOnlySpan<byte> cmp, ref int cmpPos) => cmp[cmpPos++] << 8 | cmp[cmpPos++] << 0;
}