mirror of
https://github.com/SabreTools/SabreTools.Compression.git
synced 2026-02-13 13:46:09 +00:00
23 lines
567 B
C#
23 lines
567 B
C#
namespace SabreTools.Compression.MSZIP
|
|
{
|
|
/// <summary>
|
|
/// Represents a single node in a Huffman tree
|
|
/// </summary>
|
|
public class HuffmanNode
|
|
{
|
|
/// <summary>
|
|
/// Left child of the current node
|
|
/// </summary>
|
|
public HuffmanNode? Left { get; set; }
|
|
|
|
/// <summary>
|
|
/// Right child of the current node
|
|
/// </summary>
|
|
public HuffmanNode? Right { get; set; }
|
|
|
|
/// <summary>
|
|
/// Value of the current node
|
|
/// </summary>
|
|
public int Value { get; set; }
|
|
}
|
|
} |