namespace SabreTools.Data.Models.GCZ
{
///
/// GCZ (GameCube Zip) file header — 32 bytes at the start of the file
///
///
public sealed class GczHeader
{
///
/// Magic cookie identifying a GCZ file (0xB10BC001)
///
public uint MagicCookie { get; set; }
///
/// Sub-type; always 0 for GameCube / Wii disc images
///
public uint SubType { get; set; }
///
/// Total size of the compressed block data section in bytes
///
public ulong CompressedDataSize { get; set; }
///
/// Total decompressed (ISO) size in bytes
///
public ulong DataSize { get; set; }
///
/// Size of each uncompressed block in bytes (must be 32 KiB, 64 KiB, or 128 KiB)
///
public uint BlockSize { get; set; }
///
/// Number of blocks in the image
///
public uint NumBlocks { get; set; }
}
}