QtBase  v6.3.1
Classes | Typedefs | Functions
HPack Namespace Reference

Classes

class  BitOStream
 
class  BitIStream
 
struct  BitPattern
 
class  Encoder
 
class  Decoder
 
struct  HeaderField
 
class  FieldLookupTable
 
struct  CodeEntry
 
struct  PrefixTable
 
struct  PrefixTableEntry
 
class  HuffmanDecoder
 

Typedefs

using HttpHeader = std::vector< HeaderField >
 
using HeaderSize = QPair< bool, quint32 >
 

Functions

HeaderSize header_size (const HttpHeader &header)
 
bool operator== (const BitPattern &lhs, const BitPattern &rhs)
 
HeaderSize entry_size (const QByteArray &name, const QByteArray &value)
 
HeaderSize entry_size (const HeaderField &entry)
 
quint64 huffman_encoded_bit_length (const QByteArray &inputData)
 
void huffman_encode_string (const QByteArray &inputData, BitOStream &outputStream)
 
bool padding_is_valid (quint32 chunk, quint32 nBits)
 
bool huffman_decode_string (BitIStream &inputStream, QByteArray *outputBuffer)
 

Typedef Documentation

◆ HeaderSize

using HPack::HeaderSize = typedef QPair<bool, quint32>

Definition at line 89 of file hpacktable_p.h.

◆ HttpHeader

Definition at line 67 of file hpack_p.h.

Function Documentation

◆ entry_size() [1/2]

HeaderSize HPack::entry_size ( const HeaderField entry)
inline

Definition at line 93 of file hpacktable_p.h.

Here is the call graph for this function:

◆ entry_size() [2/2]

HeaderSize HPack::entry_size ( const QByteArray name,
const QByteArray value 
)

Definition at line 55 of file hpacktable.cpp.

Here is the caller graph for this function:

◆ header_size()

HeaderSize HPack::header_size ( const HttpHeader header)

Definition at line 53 of file hpack.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ huffman_decode_string()

bool HPack::huffman_decode_string ( BitIStream inputStream,
QByteArray outputBuffer 
)

Definition at line 565 of file huffman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ huffman_encode_string()

void HPack::huffman_encode_string ( const QByteArray inputData,
BitOStream outputStream 
)

Definition at line 393 of file huffman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ huffman_encoded_bit_length()

quint64 HPack::huffman_encoded_bit_length ( const QByteArray inputData)

Definition at line 384 of file huffman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator==()

bool HPack::operator== ( const BitPattern lhs,
const BitPattern rhs 
)

Definition at line 74 of file hpack.cpp.

◆ padding_is_valid()

bool HPack::padding_is_valid ( quint32  chunk,
quint32  nBits 
)

Definition at line 405 of file huffman.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: