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,
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...
Implementation of the claw::lzw_decoder class.
void decode(input_buffer_type &input, output_buffer_type &output)
Decode a sequence of LZW compressed datas.
OutputBuffer output_buffer_type
The type of the output buffer.