mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
52 lines
1.5 KiB
C#
52 lines
1.5 KiB
C#
namespace SabreTools.Data.Models.LZ
|
|
{
|
|
/// <summary>
|
|
/// Additional information stored after the KWAJ header
|
|
/// </summary>
|
|
/// <see href="https://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html"/>
|
|
public sealed class KWAJHeaderExtensions
|
|
{
|
|
/// <summary>
|
|
/// Decompressed length of file
|
|
/// </summary>
|
|
public uint? DecompressedLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// Unknown purpose
|
|
/// </summary>
|
|
public ushort? UnknownPurpose { get; set; }
|
|
|
|
/// <summary>
|
|
/// Length of <see cref="UnknownData"/>
|
|
/// </summary>
|
|
public ushort? UnknownDataLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// Unknown purpose data whose length is defined
|
|
/// by <see cref="UnknownDataLength"/>
|
|
/// </summary>
|
|
public byte[]? UnknownData { get; set; }
|
|
|
|
/// <summary>
|
|
/// Null-terminated string with max length 8: file name
|
|
/// </summary>
|
|
public string? FileName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Null-terminated string with max length 3: file extension
|
|
/// </summary>
|
|
public string? FileExtension { get; set; }
|
|
|
|
/// <summary>
|
|
/// Length of <see cref="ArbitraryText"/>
|
|
/// </summary>
|
|
public ushort? ArbitraryTextLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// Arbitrary text data whose length is defined
|
|
/// by <see cref="ArbitraryTextLength"/>
|
|
/// </summary>
|
|
public byte[]? ArbitraryText { get; set; }
|
|
}
|
|
}
|