31#ifndef __CLAW_LZW_DECODER_HPP__
32#define __CLAW_LZW_DECODER_HPP__
61 template <
typename InputBuffer,
typename OutputBuffer>
72 typedef std::pair<unsigned int, unsigned int> word_type;
73 typedef std::vector<word_type> table_type;
79 unsigned int get_first_symbol(
const table_type& table,
80 const unsigned int code,
81 const unsigned int symbols_count)
const;
83 void decompose(
const table_type& table,
unsigned int code,
84 const unsigned int symbols_count,
90#include <claw/lzw_decoder.tpp>
A class to help decoding a stream encoded with Lempel-Ziv-Welch (LZW) compression algorithm.
OutputBuffer output_buffer_type
The type of the output buffer.
InputBuffer input_buffer_type
The type of the input buffer.
This is the main namespace.