mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-23 07:14:57 +00:00
First round of cleanup for DolphinLib additions
This commit is contained in:
26
SabreTools.Data.Models/NintendoDisc/FileSystemTableEntry.cs
Normal file
26
SabreTools.Data.Models/NintendoDisc/FileSystemTableEntry.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace SabreTools.Data.Models.NintendoDisc
|
||||
{
|
||||
/// <summary>
|
||||
/// File entry with start and end byte offsets on disc
|
||||
/// </summary>
|
||||
public class FileSystemTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Offset to the entry name
|
||||
/// </summary>
|
||||
/// <remarks>Big-endian, has high byte set to 0xFF if a directory entry</remarks>
|
||||
public uint NameOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Offset to the start of the file
|
||||
/// </summary>
|
||||
/// <remarks>Big-endian</remarks>
|
||||
public uint FileOffset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// File size
|
||||
/// </summary>
|
||||
/// <remarks>Big-endian</remarks>
|
||||
public uint FileSize { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user