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.
24 lines
778 B
C#
24 lines
778 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.AACS
|
|
{
|
|
/// <see href="https://aacsla.com/wp-content/uploads/2019/02/AACS_Spec_Common_Final_0953.pdf"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class SubsetDifference
|
|
{
|
|
/// <summary>
|
|
/// The mask for u is given by the first byte. That byte is
|
|
/// treated as a number, the number of low-order 0-bits in
|
|
/// the mask. For example, the value 0x01 denotes a mask of
|
|
/// 0xFFFFFFFE; value 0x0A denotes a mask of 0xFFFFFC00.
|
|
/// </summary>
|
|
public byte Mask;
|
|
|
|
/// <summary>
|
|
/// The last 4 bytes are the uv number, most significant
|
|
/// byte first.
|
|
/// </summary>
|
|
public uint Number;
|
|
}
|
|
}
|