Files
SabreTools.Models/Nitro/FileAllocationTableEntry.cs

23 lines
652 B
C#
Raw Normal View History

2024-04-23 17:15:15 -04:00
using System.Runtime.InteropServices;
2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.Nitro
2023-09-04 00:11:04 -04:00
{
/// <summary>
/// The structure of the file allocation table is very simple,
/// it's just a table of 8 byte entries
/// </summary>
/// <see href="https://github.com/Deijin27/RanseiLink/wiki/NDS-File-System"/>
2024-04-23 17:15:15 -04:00
[StructLayout(LayoutKind.Sequential)]
2023-09-04 00:11:04 -04:00
public sealed class FileAllocationTableEntry
{
/// <summary>
/// Start offset of file
/// </summary>
2024-04-23 17:15:15 -04:00
public uint StartOffset;
2023-09-04 00:11:04 -04:00
/// <summary>
/// End offset of file (after this is padding)
/// </summary>
2024-04-23 17:15:15 -04:00
public uint EndOffset;
2023-09-04 00:11:04 -04:00
}
}