Claw  1.7.3
Public Types | Public Member Functions | List of all members
claw::lzw_decoder< InputBuffer, OutputBuffer > Class Template Reference

A class to help decoding a stream encoded with Lempel-Ziv-Welch (LZW) compression algorithm. More...

#include <lzw_decoder.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 decode (input_buffer_type &input, output_buffer_type &output)
 Decode a sequence of LZW compressed datas.

Detailed Description

template<typename InputBuffer, typename OutputBuffer>
class claw::lzw_decoder< InputBuffer, OutputBuffer >

A class to help decoding a stream encoded 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:

Author
Julien Jorge

Definition at line 61 of file lzw_decoder.hpp.

Member Function Documentation

template<typename InputBuffer , typename OutputBuffer >
void claw::lzw_decoder< InputBuffer, OutputBuffer >::decode ( input_buffer_type input,
output_buffer_type output 
)

Decode a sequence of LZW compressed datas.

Parameters
inputWhere we read the compressed datas.
outputWhere we write uncompressed datas.

Definition at line 40 of file lzw_decoder.tpp.


The documentation for this class was generated from the following files: