Files
SabreTools.Models/Compression/LZ/FileHeader.cs

17 lines
464 B
C#
Raw Normal View History

2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.Compression.LZ
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// Format of first 14 byte of LZ compressed file
/// </summary>
/// <see href="https://github.com/wine-mirror/wine/blob/master/dlls/kernel32/lzexpand.c"/>
public sealed class FileHeaader
{
2023-09-10 21:24:10 -04:00
public string? Magic { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public byte CompressionType { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public char LastChar { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint RealLength { get; set; }
2023-09-04 00:11:04 -04:00
}
}