Files
SabreTools.Models/AACS/SubsetDifference.cs

23 lines
772 B
C#
Raw Permalink Normal View History

2024-04-23 13:30:43 -04:00
using System.Runtime.InteropServices;
2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.AACS
2023-09-04 00:11:04 -04:00
{
/// <see href="https://aacsla.com/wp-content/uploads/2019/02/AACS_Spec_Common_Final_0953.pdf"/>
2024-04-23 13:30:43 -04:00
[StructLayout(LayoutKind.Sequential)]
2023-09-04 00:11:04 -04:00
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>
2024-04-23 13:30:43 -04:00
public byte Mask;
2023-09-04 00:11:04 -04:00
/// <summary>
/// The last 4 bytes are the uv number, most significant
/// byte first.
/// </summary>
2024-04-23 13:30:43 -04:00
public uint Number;
2023-09-04 00:11:04 -04:00
}
}