using SabreTools.Numerics;
namespace SabreTools.Data.Models.STFS
{
///
/// STFS Volume Descriptor, for System or Title Cache Installer STFS packages
///
public class InstallerCacheHeader : InstallerHeader
{
///
/// Resume state enum
/// See Enums.ResumeState
///
/// If present, 4 bytes
public uint ResumeState { get; set; }
///
/// Current file index
///
/// Big-endian
public ulong CurrentFileIndex { get; set; }
///
/// Number of bytes processed
///
/// Big-endian
public ulong BytesProcessed { get; set; }
///
/// Datetime for last modified
///
/// Microsoft FILETIME, Big-endian, 8 bytes
public long LastModifiedDateTime { get; set; }
///
/// Cache resume data
///
/// 5584 bytes
public byte[] ResumeData { get; set; } = new byte[5584];
}
}