BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
ZPack::CZPackEncoder Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ SetIn()

void CZPackEncoder::SetIn ( std::shared_ptr< Pipe::CPipe > pipe_in_)

Sets the input pipe for the encoder.

Parameters
pipe_in_Shared pointer to the input pipe.

◆ SetOut()

void CZPackEncoder::SetOut ( std::shared_ptr< Pipe::CPipe > pipe_out_)

Sets the output pipe for the encoder.

Parameters
pipe_out_Shared pointer to the output pipe.

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