mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-12 01:03:10 +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.
27 lines
796 B
C#
27 lines
796 B
C#
namespace SabreTools.Data.Models.GZIP
|
|
{
|
|
/// <see href="https://www.ietf.org/rfc/rfc1952.txt"/>
|
|
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; } = [];
|
|
}
|
|
}
|