30 #ifndef __CLAW_RLE_DECODER_HPP__ 31 #define __CLAW_RLE_DECODER_HPP__ 53 template<
typename Pattern,
typename InputBuffer,
typename OutputBuffer >
86 void decode( input_buffer_type& input, output_buffer_type& output );
89 virtual void read_mode( input_buffer_type& input,
90 output_buffer_type& output ) = 0;
108 #include <claw/impl/rle_decoder.tpp> 110 #endif // __CLAW_RLE_DECODER_HPP__ mode m_mode
Current mode of the decompression.
Next bytes represent compressed data.
pattern_type m_pattern
The pattern to repeat.
Pattern pattern_type
The type of the patterns we will read in the input buffer.
A class to help decoding run-length encoded (RLE) streams.
OutputBuffer output_buffer_type
The type of the output buffer.
mode
State of the decompression.
InputBuffer input_buffer_type
The type of the input buffer.
This is the main namespace.
Next bytes represent raw data.
unsigned int m_count
Case of m_mode :