mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-15 02:33:10 +00:00
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.
26 lines
646 B
C#
26 lines
646 B
C#
namespace SabreTools.Data.Models.CHD
|
|
{
|
|
public static class Constants
|
|
{
|
|
public static readonly byte[] SignatureBytes = [0x4D, 0x43, 0x6F, 0x6D, 0x70, 0x72, 0x48, 0x44];
|
|
|
|
public const string SignatureString = "MComprHD";
|
|
|
|
#region Header Sizes
|
|
|
|
public const int HeaderV1Size = 76;
|
|
public const int HeaderV2Size = 80;
|
|
public const int HeaderV3Size = 120;
|
|
public const int HeaderV4Size = 108;
|
|
public const int HeaderV5Size = 124;
|
|
|
|
#endregion
|
|
|
|
#region Metadata Parameters
|
|
|
|
public const uint CHDMETAINDEX_APPEND = uint.MaxValue;
|
|
|
|
#endregion
|
|
}
|
|
}
|