namespace SabreTools.Data.Models.GCZ { public static class Constants { /// GCZ magic cookie (little-endian u32 at offset 0) public const uint MagicCookie = 0xB10BC001; /// Size of the GCZ file header in bytes public const int HeaderSize = 32; // Valid GCZ block sizes (Dolphin-compatible) public const uint BlockSize32K = 0x8000; public const uint BlockSize64K = 0x10000; public const uint BlockSize128K = 0x20000; public const uint DefaultBlockSize = BlockSize32K; /// /// Top bit of a block-pointer value: when CLEAR the block is zlib/deflate compressed; /// when SET the block is stored uncompressed. /// public const ulong UncompressedFlag = 0x8000000000000000; } }