Claw
1.7.3
|
A class to help encoding a stream with Lempel-Ziv-Welch (LZW) compression algorithm. More...
#include <lzw_encoder.hpp>
Public Types | |
typedef InputBuffer | input_buffer_type |
The type of the input buffer. | |
typedef OutputBuffer | output_buffer_type |
The type of the output buffer. |
Public Member Functions | |
void | encode (input_buffer_type &input, output_buffer_type &output) const |
Encode a sequence of datas. |
A class to help encoding a stream with Lempel-Ziv-Welch (LZW) compression algorithm.
Template parameters:
The InputBuffer type must have the following methods:
The OutputBuffer type must have the following methods:
Definition at line 60 of file lzw_encoder.hpp.
void claw::lzw_encoder< InputBuffer, OutputBuffer >::encode | ( | input_buffer_type & | input, |
output_buffer_type & | output | ||
) | const |
Encode a sequence of datas.
input | Where we read the uncompressed data. |
output | Where we write compressed data. |
Definition at line 16 of file lzw_encoder.tpp.