2023-03-07 16:59:14 -05:00
|
|
|
namespace BinaryObjectScanner.Models.Compression.MSZIP
|
2022-12-15 23:51:12 -08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Compression with dynamic Huffman codes (BTYPE=10)
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <see href="https://www.rfc-editor.org/rfc/rfc1951"/>
|
2023-01-02 15:01:24 -08:00
|
|
|
public class DynamicHuffmanCompressedBlockHeader
|
2022-12-15 23:51:12 -08:00
|
|
|
{
|
2023-01-02 15:01:24 -08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Huffman code lengths for the literal / length alphabet
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int[] LiteralLengths;
|
2022-12-15 23:51:12 -08:00
|
|
|
|
2023-01-02 15:01:24 -08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Huffman distance codes for the literal / length alphabet
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int[] DistanceCodes;
|
2022-12-15 23:51:12 -08:00
|
|
|
}
|
|
|
|
|
}
|