using System.Runtime.InteropServices; namespace SabreTools.Data.Models.PlayStation3 { /// [StructLayout(LayoutKind.Sequential)] public class SFOIndexTableEntry { /// /// Key relative offset. /// (Absolute start offset of key) - (Absolute start offset of key_table) /// public ushort KeyOffset; /// /// Data type /// [MarshalAs(UnmanagedType.U2)] public DataFormat DataFormat; /// /// Data used length /// public uint DataLength; /// /// Data total length. TITLE_ID is always = 16 bytes /// public uint DataMaxLength; /// /// Data relative offset. /// (Absolute start offset of data_1) - (Absolute start offset of data_table) /// public uint DataOffset; } }