BEEP-8 Helper Lib 1.0.0
|
Class for encoding data streams using various compression methods. More...
#include <zpack.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 () |
Encodes the data from the input pipe and writes it to the output pipe. | |
Class for encoding data streams using various compression methods.
This class provides methods to set input and output pipes and to perform the encoding of data streams using Huffman encoding, RLE, or no compression.
void CZPackEncoder::SetIn | ( | std::shared_ptr< Pipe::CPipe > | pipe_in_ | ) |
Sets the input pipe for the encoder.
pipe_in_ | Shared pointer to the input pipe. |
void CZPackEncoder::SetOut | ( | std::shared_ptr< Pipe::CPipe > | pipe_out_ | ) |
Sets the output pipe for the encoder.
pipe_out_ | Shared pointer to the output pipe. |