mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-13 01:33:11 +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.
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
namespace SabreTools.Data.Models.PKZIP
|
|
{
|
|
/// <summary>
|
|
/// The following is the layout of the OS/2 attributes "extra"
|
|
/// block. (Last Revision 09/05/95)
|
|
///
|
|
/// The OS/2 extended attribute structure (FEA2LIST) is
|
|
/// compressed and then stored in its entirety within this
|
|
/// structure. There will only ever be one "block" of data in
|
|
/// VarFields[].
|
|
/// </summary>
|
|
/// <remarks>Header ID = 0x0009</remarks>
|
|
/// <see href="https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT"/>
|
|
public class OS2ExtraField : ExtensibleDataField
|
|
{
|
|
/// <summary>
|
|
/// Uncompressed Block Size
|
|
/// </summary>
|
|
public uint UncompressedBlockSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// Compression type
|
|
/// </summary>
|
|
public ushort CompressionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// CRC value for uncompress block
|
|
/// </summary>
|
|
public uint CRC32 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Compressed block
|
|
/// </summary>
|
|
public byte[] Data { get; set; } = [];
|
|
}
|
|
}
|