30 #ifndef __CLAW_RLE_DECODER_HPP__
31 #define __CLAW_RLE_DECODER_HPP__
53 template<
typename Pattern,
typename InputBuffer,
typename OutputBuffer >
110 #endif // __CLAW_RLE_DECODER_HPP__
mode m_mode
Current mode of the decompression.
virtual ~rle_decoder()
Destructor.
rle_decoder()
Constructor.
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.
void decode(input_buffer_type &input, output_buffer_type &output)
Decode a RLE stream.
Implementation of the claw::rle_decoder class and subclasses.
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.
Next bytes represent raw data.
unsigned int m_count
Case of m_mode :