2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.XZ
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
2025-09-29 22:56:53 -04:00
|
|
|
/// <see href="https://tukaani.org/xz/xz-file-format.txt"/>
|
2025-09-26 10:57:15 -04:00
|
|
|
public class Archive
|
|
|
|
|
{
|
2025-09-29 22:56:53 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// Pre-blocks header
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public Header Header { get; set; } = new();
|
2025-09-26 10:57:15 -04:00
|
|
|
|
2025-09-29 22:56:53 -04:00
|
|
|
/// <summary>
|
|
|
|
|
/// Sequence of 0 or more blocks
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public Block[] Blocks { get; set; } = [];
|
2025-09-29 22:56:53 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Index structure
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public Index Index { get; set; } = new();
|
2025-09-29 22:56:53 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Post-blocks footer
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public Footer Footer { get; set; } = new();
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
|
|
|
|
}
|