Claw
1.7.3
|
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 |
Encode a range of datas. |
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.
void claw::rle_encoder< OutputBuffer >::encode | ( | Iterator | first, |
Iterator | last, | ||
output_buffer_type & | output | ||
) | const |
Encode a range of datas.
first | Iterator on the first data. |
last | Iterator past the last data. |
output | The buffer on which we write the compressed data. |
Definition at line 43 of file rle_encoder.tpp.