30 #ifndef __CLAW_RLE_ENCODER_HPP__
31 #define __CLAW_RLE_ENCODER_HPP__
57 template<
typename OutputBuffer>
69 typedef std::list<pattern_type> raw_buffer_type;
72 template<
typename Iterator>
81 #endif // __CLAW_RLE_ENCODER_HPP__
OutputBuffer output_buffer_type
The type of the output buffer.
output_buffer_type::pattern_type pattern_type
The type of the stored data.
void encode(Iterator first, Iterator last, output_buffer_type &output) const
Encode a range of datas.
Fuction object to get the first element of a std::pair.
Implementation of the rle_encoder class.
A class to help run-length encoding (RLE) streams.