Files
BinaryObjectScanner/BinaryObjectScanner.Compression/MSZIP/HuffmanNode.cs

29 lines
615 B
C#
Raw Normal View History

2023-03-07 16:59:14 -05:00
namespace BinaryObjectScanner.Compression.MSZIP
2023-01-02 11:19:06 -08:00
{
2023-01-03 22:11:57 -08:00
public unsafe struct HuffmanNode
2023-01-02 11:19:06 -08:00
{
/// <summary>
/// Number of extra bits or operation
/// </summary>
2023-01-03 22:11:57 -08:00
public byte e;
2023-01-02 11:19:06 -08:00
/// <summary>
/// Number of bits in this code or subcode
/// </summary>
2023-01-03 22:11:57 -08:00
public byte b;
2023-01-02 11:19:06 -08:00
#region v
/// <summary>
/// Literal, length base, or distance base
/// </summary>
2023-01-03 22:11:57 -08:00
public ushort n;
2023-01-02 11:19:06 -08:00
/// <summary>
/// Pointer to next level of table
/// </summary>
2023-01-03 22:11:57 -08:00
public HuffmanNode* t;
2023-01-02 11:19:06 -08:00
#endregion
}
}