using System.Runtime.InteropServices; namespace SabreTools.Data.Models.PFF { /// /// PFF archive header /// /// Versions 2, 3, and 4 supported /// [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public sealed class Header { /// /// Size of the following header /// public uint HeaderSize; /// /// Signature /// /// Versions 2 and 3 share the same signature but different header sizes [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)] public string Signature = string.Empty; /// /// Number of files /// public uint NumberOfFiles; /// /// File segment size /// public uint FileSegmentSize; /// /// File list offset /// public uint FileListOffset; } }