BEEP-8 Helper Lib 1.0.0
Loading...
Searching...
No Matches
Huffman::CHuffmanEncoder Class Reference

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.
 

Detailed Description

Class for Huffman encoding.

This class provides methods to encode data using Huffman coding.

Member Function Documentation

◆ SetIn()

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

Sets the input pipe for the encoder.

Parameters
pipe_in_The input pipe.

◆ SetOut()

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

Sets the output pipe for the encoder.

Parameters
pipe_out_The output pipe.

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