Files
SabreTools.Serialization/SabreTools.Data.Models/GZIP/ExtraFieldData.cs

27 lines
796 B
C#
Raw Normal View History

2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.GZIP
2025-09-26 10:57:15 -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; }
public byte[] Data { get; set; } = [];
2025-09-26 10:57:15 -04:00
}
}