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