mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
32 lines
771 B
C#
32 lines
771 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.CHD
|
|
{
|
|
/// <see href="https://github.com/mamedev/mame/blob/master/src/lib/util/chd.h"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class CompressedMapEntryV5
|
|
{
|
|
/// <summary>
|
|
/// Compression type
|
|
/// </summary>
|
|
public byte Compression;
|
|
|
|
/// <summary>
|
|
/// Compressed length
|
|
/// </summary>
|
|
/// <remarks>Actually UInt24</remarks>
|
|
public uint CompLength;
|
|
|
|
/// <summary>
|
|
/// Offset
|
|
/// </summary>
|
|
/// <remarks>Actually UInt48</remarks>
|
|
public ulong Offset;
|
|
|
|
/// <summary>
|
|
/// CRC-16 of the data
|
|
/// </summary>
|
|
public ushort CRC;
|
|
}
|
|
}
|