2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.GZIP
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
2025-10-30 20:44:16 -04:00
|
|
|
/// <see href="https://www.ietf.org/rfc/rfc1952.txt"/>
|
2025-09-26 10:57:15 -04:00
|
|
|
public sealed class ExtraFieldData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SI1 and SI2 provide a subfield ID, typically two ASCII letters
|
|
|
|
|
/// with some mnemonic value.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte SubfieldID1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// SI1 and SI2 provide a subfield ID, typically two ASCII letters
|
|
|
|
|
/// with some mnemonic value.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte SubfieldID2 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// LEN gives the length of the subfield data, excluding the 4
|
|
|
|
|
/// initial bytes.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort Length { get; set; }
|
|
|
|
|
|
2025-10-31 13:59:28 -04:00
|
|
|
public byte[] Data { get; set; } = [];
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
2025-10-30 20:44:16 -04:00
|
|
|
}
|