|
BEEP-8 Helper Lib 1.0.0
|
Class for Huffman decoding. More...
#include <huffman.h>
Public Types | |
| enum | DecodeResult { DECODE_OK , DECODE_ERR_INVALID_SIGNATURE , DECODE_INVALID_DATA } |
| Enumeration for the result of the decoding process. | |
Public Member Functions | |
| void | SetIn (std::shared_ptr< Pipe::CPipe > pipe_in_) |
| Sets the input pipe for the decoder. | |
| void | SetOut (std::shared_ptr< Pipe::CPipe > pipe_out_) |
| Sets the output pipe for the decoder. | |
| CHuffmanDecoder::DecodeResult | Decode () |
| Performs Huffman decoding on the input data. | |
Class for Huffman decoding.
This class provides methods to decode data that was encoded using Huffman coding.
| CHuffmanDecoder::DecodeResult CHuffmanDecoder::Decode | ( | ) |
Performs Huffman decoding on the input data.
| void CHuffmanDecoder::SetIn | ( | std::shared_ptr< Pipe::CPipe > | pipe_in_ | ) |
Sets the input pipe for the decoder.
| pipe_in_ | The input pipe. |
| void CHuffmanDecoder::SetOut | ( | std::shared_ptr< Pipe::CPipe > | pipe_out_ | ) |
Sets the output pipe for the decoder.
| pipe_out_ | The output pipe. |