using System;
namespace SabreTools.Models.CFB
{
///
public sealed class SummaryInformation
{
#region Set Header
///
/// This field MUST be set to 0xFFFE. This field is a byte order mark for
/// all integer fields, specifying little-endian byte order.
///
public ushort ByteOrder { get; set; }
///
/// Format
///
public ushort Format { get; set; }
///
/// Build
///
public ushort Build { get; set; }
///
/// Platform ID
///
public ushort PlatformID { get; set; }
///
/// CLSID
///
public Guid CLSID { get; set; }
///
/// 4 bytes of reserved data
///
public byte[]? Reserved { get; set; }
#endregion
#region Format Header
///
/// Format ID, should be
///
public Guid FormatID { get; set; }
///
/// 16 bytes of unknown data
///
public byte[]? Unknown { get; set; }
#endregion
#region Section Header
///
/// Location of the section
///
public uint Offset { get; set; }
///
/// Section count(?)
///
public uint SectionCount { get; set; }
///
/// Property count
///
public uint PropertyCount { get; set; }
///
/// Properties
///
/// Each Variant might be followed by an index and offset value
public Variant?[]? Properties { get; set; }
#endregion
}
}