Files
SabreTools.Serialization/SabreTools.Data.Models/SpoonInstaller/FileEntry.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2025-09-26 22:12:27 -04:00
namespace SabreTools.Data.Models.SpoonInstaller
{
/// <summary>
/// Single entry in the file table
/// </summary>
/// <remarks>Entry data is BZ2-compressed</remarks>
public class FileEntry
{
/// <summary>
/// File offset relative to the start of the file
/// </summary>
public uint FileOffset { get; set; }
/// <summary>
/// Compressed size of the entry
/// </summary>
/// <remarks>Includes headers</remarks>
public uint CompressedSize { get; set; }
/// <summary>
/// Uncompressed size of the entry
/// </summary>
public uint UncompressedSize { get; set; }
/// <summary>
/// CRC-32(?)
/// </summary>
public uint Crc32 { get; set; }
/// <summary>
2025-10-30 23:41:40 -04:00
/// Length of <see cref="Filename"/>
2025-09-26 22:12:27 -04:00
/// </summary>
public byte FilenameLength { get; set; }
/// <summary>
/// ASCII filename
/// </summary>
public string Filename { get; set; } = string.Empty;
2025-09-26 22:12:27 -04:00
}
}