2023-09-04 00:12:49 -04:00
|
|
|
namespace SabreTools.Models.Compression.Quantum
|
2023-09-04 00:11:04 -04:00
|
|
|
{
|
|
|
|
|
/// <see href="https://github.com/wine-mirror/wine/blob/master/dlls/cabinet/cabinet.h"/>
|
|
|
|
|
/// <see href="http://www.russotto.net/quantumcomp.html"/>
|
|
|
|
|
public sealed class Model
|
|
|
|
|
{
|
2023-09-10 21:24:10 -04:00
|
|
|
public int TimeToReorder { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
2023-09-10 21:24:10 -04:00
|
|
|
public int Entries { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
2023-09-04 21:14:41 -04:00
|
|
|
#if NET48
|
2023-09-10 21:24:10 -04:00
|
|
|
public ModelSymbol[] Symbols { get; set; }
|
2023-09-04 21:14:41 -04:00
|
|
|
#else
|
2023-09-10 21:24:10 -04:00
|
|
|
public ModelSymbol?[]? Symbols { get; set; }
|
2023-09-04 21:14:41 -04:00
|
|
|
#endif
|
2023-09-04 00:11:04 -04:00
|
|
|
|
2023-09-04 21:14:41 -04:00
|
|
|
#if NET48
|
2023-09-10 21:24:10 -04:00
|
|
|
public ushort[] LookupTable { get; set; } = new ushort[256];
|
2023-09-04 21:14:41 -04:00
|
|
|
#else
|
2023-09-10 21:24:10 -04:00
|
|
|
public ushort[]? LookupTable { get; set; } = new ushort[256];
|
2023-09-04 21:14:41 -04:00
|
|
|
#endif
|
2023-09-04 00:11:04 -04:00
|
|
|
}
|
|
|
|
|
}
|