namespace SabreTools.Data.Models.XZ
{
///
/// Represents the pre-block data in the stream
///
public class Header
{
///
/// Header magic number (0xFD, '7', 'z', 'X', 'Z', 0x00)
///
/// 6 bytes
public byte[] Signature { get; set; } = new byte[6];
///
/// 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.
///
public HeaderFlags Flags { get; set; }
///
/// The CRC32 is calculated from the Stream Flags field. It is
/// stored as an unsigned 32-bit little endian integer.
///
public uint Crc32 { get; set; }
}
}