using System.Runtime.InteropServices; namespace SabreTools.Data.Models.CHD { /// [StructLayout(LayoutKind.Sequential)] public sealed class CompressedMapHeaderV5 { /// /// Length of compressed map /// public uint Length; /// /// Offset of first block /// /// Actually UInt48 public ulong DataStart; /// /// CRC-16 of the map /// public ushort CRC; /// /// Bits used to encode complength /// public byte LengthBits; /// /// Bits used to encode self-refs /// public byte HunkBits; /// /// Bits used to encode parent unit refs /// public byte ParentUnitBits; /// /// Future use /// public byte Reserved; } }