A class to help run-length encoding (RLE) streams. More...
#include <rle_encoder.hpp>
Public Types | |
typedef OutputBuffer | output_buffer_type |
The type of the output buffer. | |
typedef output_buffer_type::pattern_type | pattern_type |
The type of the stored data. | |
Public Member Functions | |
template<typename Iterator> | |
void | encode (Iterator first, Iterator last, output_buffer_type &output) const |
A class to help run-length encoding (RLE) streams.
Template parameters :
The OutputBuffer type must have the following typedefs :
The OutputBuffer type must have the following methods :
Definition at line 58 of file rle_encoder.hpp.
typedef OutputBuffer claw::rle_encoder< OutputBuffer >::output_buffer_type |
The type of the output buffer.
Definition at line 62 of file rle_encoder.hpp.
typedef output_buffer_type::pattern_type claw::rle_encoder< OutputBuffer >::pattern_type |
The type of the stored data.
Definition at line 65 of file rle_encoder.hpp.