SpoonInstaller model cleanup

This commit is contained in:
Matt Nadareski
2025-10-30 23:41:40 -04:00
parent a2e24b1f5f
commit dfe76f7e7e
3 changed files with 8 additions and 8 deletions

View File

@@ -28,13 +28,13 @@ namespace SabreTools.Data.Models.SpoonInstaller
public uint Crc32 { get; set; }
/// <summary>
/// Length of <see cref="Filename"/>
/// Length of <see cref="Filename"/>
/// </summary>
public byte FilenameLength { get; set; }
/// <summary>
/// ASCII filename
/// </summary>
public string? Filename { get; set; }
public string Filename { get; set; }
}
}

View File

@@ -11,7 +11,7 @@ namespace SabreTools.Data.Models.SpoonInstaller
/// </summary>
/// <remarks>
/// Theorized to be a checksum?
///
///
/// Observed values:
/// - 81 83 DA 2F (802849665)
/// </remarks>
@@ -41,7 +41,7 @@ namespace SabreTools.Data.Models.SpoonInstaller
/// </summary>
/// <remarks>
/// Could also be part of the signature?
///
///
/// Observed values:
/// - 83 52 34 03 (53760643)
/// </remarks>

View File

@@ -4,12 +4,12 @@ namespace SabreTools.Data.Models.SpoonInstaller
/// Represents the structure at the end of a Spoon Installer
/// SFX file. These SFX files store all files bz2-compressed
/// sequentially in the overlay of an executable.
///
///
/// The design is similar to the end of central directory
/// in a PKZIP file. The footer needs to be read before
/// the entry table as both the pointer to the start of
/// the table as well as the entry count are included there.
///
///
/// The layout of this is derived from the layout in the
/// physical file.
/// </summary>
@@ -18,11 +18,11 @@ namespace SabreTools.Data.Models.SpoonInstaller
/// <summary>
/// Set of file entries
/// </summary>
public FileEntry[]? Entries { get; set; }
public FileEntry[] Entries { get; set; }
/// <summary>
/// Footer representing the central directory
/// </summary>
public Footer? Footer { get; set; }
public Footer Footer { get; set; }
}
}