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

Persistent entropy tables and repeat offsets shared by compressed blocks. More...

#include <zstandard.hpp>

Public Attributes

std::optional< huffman_tablehuffman_literals_table
 Huffman table retained for treeless literal blocks.
 
std::optional< fse_tableliteral_length_table
 Most recent literal-length FSE table.
 
std::optional< fse_tableoffset_table
 Most recent offset-code FSE table.
 
std::optional< fse_tablematch_length_table
 Most recent match-length FSE table.
 
std::array< std::size_t, 3U > repeated_offsets {1U, 4U, 8U}
 Three repeat offsets in most-recent-first order.
 

Detailed Description

Persistent entropy tables and repeat offsets shared by compressed blocks.

Definition at line 96 of file zstandard.hpp.

Member Data Documentation

◆ huffman_literals_table

std::optional< huffman_table > rpnx::compression::zstandard_codec::decoder_state::huffman_literals_table

Huffman table retained for treeless literal blocks.

Definition at line 99 of file zstandard.hpp.

Referenced by rpnx::compression::zstandard_codec::decode_literals().

◆ literal_length_table

std::optional< fse_table > rpnx::compression::zstandard_codec::decoder_state::literal_length_table

Most recent literal-length FSE table.

Definition at line 101 of file zstandard.hpp.

Referenced by rpnx::compression::zstandard_codec::decompress_compressed_block().

◆ match_length_table

std::optional< fse_table > rpnx::compression::zstandard_codec::decoder_state::match_length_table

Most recent match-length FSE table.

Definition at line 105 of file zstandard.hpp.

Referenced by rpnx::compression::zstandard_codec::decompress_compressed_block().

◆ offset_table

std::optional< fse_table > rpnx::compression::zstandard_codec::decoder_state::offset_table

Most recent offset-code FSE table.

Definition at line 103 of file zstandard.hpp.

Referenced by rpnx::compression::zstandard_codec::decompress_compressed_block().

◆ repeated_offsets

std::array< std::size_t, 3U > rpnx::compression::zstandard_codec::decoder_state::repeated_offsets {1U, 4U, 8U}

Three repeat offsets in most-recent-first order.

Definition at line 107 of file zstandard.hpp.

Referenced by rpnx::compression::zstandard_codec::decompress_compressed_block().


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