RPNX::Compress
Self-contained C++20 compression and ZIP library
 
Loading...
Searching...
No Matches
rpnx::compression::zstandard_codec::huffman_node Struct Reference

One node in a native canonical Huffman decoding tree. More...

#include <zstandard.hpp>

Public Attributes

std::optional< std::uint16_t > zero_child
 Child selected by a zero bit, if present.
 
std::optional< std::uint16_t > one_child
 Child selected by a one bit, if present.
 
std::optional< std::uint8_t > symbol
 Literal value for a leaf node.
 

Detailed Description

One node in a native canonical Huffman decoding tree.

Definition at line 69 of file zstandard.hpp.

Member Data Documentation

◆ one_child

std::optional< std::uint16_t > rpnx::compression::zstandard_codec::huffman_node::one_child

Child selected by a one bit, if present.

Definition at line 74 of file zstandard.hpp.

◆ symbol

std::optional< std::uint8_t > rpnx::compression::zstandard_codec::huffman_node::symbol

Literal value for a leaf node.

Definition at line 76 of file zstandard.hpp.

◆ zero_child

std::optional< std::uint16_t > rpnx::compression::zstandard_codec::huffman_node::zero_child

Child selected by a zero bit, if present.

Definition at line 72 of file zstandard.hpp.


The documentation for this struct was generated from the following file: