Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
Huffman.h File Reference

HTTP2 Huffman Decoding and Encoding Implementation. More...

#include <cstdint>
#include <string>
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

class  sese::net::http::huffman_node_t
 Huffman node. More...
 
class  sese::net::http::huffman_tree_t
 Huffman Tree. More...
 
class  sese::net::http::huffman_encoder_t
 Huffman Encoder. More...
 

Namespaces

namespace  sese
 
namespace  sese::net
 
namespace  sese::net::http
 

Typedefs

using sese::net::http::HuffmanEncoder = huffman_encoder_t
 
using sese::net::http::HuffmanDecoder = huffman_tree_t
 

Detailed Description

HTTP2 Huffman Decoding and Encoding Implementation.

This file is sourced from
https://github.com/jnferguson/hpack-rfc7541.git
in part
Bug
The original implementation had a data truncation bug, which has been fixed here, see huffman_tree_t::decode