Huffman Encoder.
More...
#include <Huffman.h>
|
| huffman_encoder_t () noexcept |
|
virtual | ~huffman_encoder_t () noexcept=default |
|
std::vector< uint8_t > | encode (const std::vector< uint8_t > &src) noexcept |
|
std::vector< uint8_t > | encode (const std::string &src) noexcept |
|
std::vector< uint8_t > | encode (const char *ptr) noexcept |
|
◆ huffman_encoder_t()
huffman_encoder_t::huffman_encoder_t |
( |
| ) |
|
|
noexcept |
◆ ~huffman_encoder_t()
virtual sese::net::http::huffman_encoder_t::~huffman_encoder_t |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ encode() [1/3]
std::vector< uint8_t > huffman_encoder_t::encode |
( |
const char * | ptr | ) |
|
|
noexcept |
◆ encode() [2/3]
std::vector< uint8_t > huffman_encoder_t::encode |
( |
const std::string & | src | ) |
|
|
noexcept |
◆ encode() [3/3]
std::vector< uint8_t > huffman_encoder_t::encode |
( |
const std::vector< uint8_t > & | src | ) |
|
|
noexcept |
◆ write_bit()
bool huffman_encoder_t::write_bit |
( |
uint8_t | bit | ) |
|
|
inlineprotectednoexcept |
◆ m_byte
uint8_t sese::net::http::huffman_encoder_t::m_byte |
|
private |
◆ m_count
uint8_t sese::net::http::huffman_encoder_t::m_count |
|
private |
The documentation for this class was generated from the following files: