Files
2026-05-12 20:33:53 -04:00

22 lines
796 B
C#

namespace SabreTools.Data.Models.WIA
{
/// <summary>
/// WIA group entry pointing to compressed data for one group. Size: 0x08 bytes.
/// DataOffset is stored on-disk as the actual byte offset shifted right by 2 (i.e. &gt;&gt;2).
/// </summary>
public sealed class WiaGroupEntry
{
/// <summary>
/// Actual byte offset of this group's data within the WIA file.
/// </summary>
/// <remarks>Big-endian, requires left bit shift of 2 to get the real value</remarks>
public uint DataOffset { get; set; }
/// <summary>
/// Compressed size of this group's data in bytes (0 means group contains only zeroes)
/// </summary>
/// <remarks>Big-endian</remarks>
public uint DataSize { get; set; }
}
}