Files
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

28 lines
877 B
C#

namespace SabreTools.Data.Models.XZ
{
/// <summary>
/// Represents the pre-block data in the stream
/// </summary>
public class Header
{
/// <summary>
/// Header magic number (0xFD, '7', 'z', 'X', 'Z', 0x00)
/// </summary>
/// <remarks>6 bytes</remarks>
public byte[] Signature { get; set; } = new byte[6];
/// <summary>
/// The first byte of Stream Flags is always a null byte. In the
/// future, this byte may be used to indicate a new Stream version
/// or other Stream properties.
/// </summary>
public HeaderFlags Flags { get; set; }
/// <summary>
/// The CRC32 is calculated from the Stream Flags field. It is
/// stored as an unsigned 32-bit little endian integer.
/// </summary>
public uint Crc32 { get; set; }
}
}