mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-13 21:33:13 +00:00
28 lines
889 B
C#
28 lines
889 B
C#
namespace SabreTools.Models.Compression.MSZIP
|
|
{
|
|
/// <summary>
|
|
/// Compression with Huffman codes (BTYPE=01 or BTYPE=02)
|
|
/// </summary>
|
|
/// <see href="https://interoperability.blob.core.windows.net/files/MS-MCI/%5bMS-MCI%5d.pdf"/>
|
|
/// <see href="https://www.rfc-editor.org/rfc/rfc1951"/>
|
|
public abstract class CompressedDataHeader : DataHeader
|
|
{
|
|
/// <summary>
|
|
/// Huffman code lengths for the literal / length alphabet
|
|
/// </summary>
|
|
#if NET48
|
|
public virtual uint[] LiteralLengths { get; set; }
|
|
#else
|
|
public virtual uint[]? LiteralLengths { get; set; }
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Huffman distance codes for the literal / length alphabet
|
|
/// </summary>
|
|
#if NET48
|
|
public virtual uint[] DistanceCodes { get; set; }
|
|
#else
|
|
public virtual uint[]? DistanceCodes { get; set; }
|
|
#endif
|
|
}
|
|
} |