BEEP-8 Helper Lib 1.0.0
|
Class for Huffman encoding. More...
#include <huffman.h>
Public Member Functions | |
void | SetIn (std::shared_ptr< Pipe::CPipe > pipe_in_) |
Sets the input pipe for the encoder. | |
void | SetOut (std::shared_ptr< Pipe::CPipe > pipe_out_) |
Sets the output pipe for the encoder. | |
void | Encode () |
Performs Huffman encoding on the input data. | |
Class for Huffman encoding.
This class provides methods to encode data using Huffman coding.
void CHuffmanEncoder::SetIn | ( | std::shared_ptr< Pipe::CPipe > | pipe_in_ | ) |
Sets the input pipe for the encoder.
pipe_in_ | The input pipe. |
void CHuffmanEncoder::SetOut | ( | std::shared_ptr< Pipe::CPipe > | pipe_out_ | ) |
Sets the output pipe for the encoder.
pipe_out_ | The output pipe. |