mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
32 lines
830 B
C#
32 lines
830 B
C#
namespace SabreTools.Models.Quantum
|
|
{
|
|
/// <summary>
|
|
/// Quantum archive file structure
|
|
/// </summary>
|
|
/// <see href="https://handwiki.org/wiki/Software:Quantum_compression"/>
|
|
public class Archive
|
|
{
|
|
/// <summary>
|
|
/// Quantum header
|
|
/// </summary>
|
|
#if NET48
|
|
public Header Header { get; set; }
|
|
#else
|
|
public Header? Header { get; set; }
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// This is immediately followed by the list of files
|
|
/// </summary>
|
|
#if NET48
|
|
public FileDescriptor[] FileList { get; set; }
|
|
#else
|
|
public FileDescriptor?[]? FileList { get; set; }
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Immediately following the list of files is the compressed data
|
|
/// </summary>
|
|
public long CompressedDataOffset { get; set; }
|
|
}
|
|
} |