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.
30 lines
957 B
C#
30 lines
957 B
C#
namespace SabreTools.Data.Models.AdvancedInstaller
|
|
{
|
|
/// <summary>
|
|
/// Represents the structure at the end of a Caphyon
|
|
/// Advanced Installer SFX file. These SFX files store
|
|
/// all files uncompressed 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>
|
|
public class SFX
|
|
{
|
|
/// <summary>
|
|
/// Set of file entries
|
|
/// </summary>
|
|
public FileEntry[] Entries { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Footer representing the central directory
|
|
/// </summary>
|
|
public Footer Footer { get; set; } = new();
|
|
}
|
|
}
|