Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
HPack::HuffmanDecoder Class Reference

#include <huffman_p.h>

+ Collaboration diagram for HPack::HuffmanDecoder:

Public Types

enum class  BitConstants { rootPrefix = 9 , childPrefix = 6 }
 

Public Member Functions

 HuffmanDecoder ()
 
bool decodeStream (BitIStream &inputStream, QByteArray &outputBuffer)
 

Detailed Description

Definition at line 103 of file huffman_p.h.

Member Enumeration Documentation

◆ BitConstants

Enumerator
rootPrefix 
childPrefix 

Definition at line 106 of file huffman_p.h.

Constructor & Destructor Documentation

◆ HuffmanDecoder()

HPack::HuffmanDecoder::HuffmanDecoder ( )

Definition at line 384 of file huffman.cpp.

References childPrefix, j, Q_ASSERT, and rootPrefix.

Member Function Documentation

◆ decodeStream()

bool HPack::HuffmanDecoder::decodeStream ( BitIStream & inputStream,
QByteArray & outputBuffer )

Definition at line 460 of file huffman.cpp.

References QByteArray::append(), HPack::BitIStream::hasMoreBits(), HPack::padding_is_valid(), HPack::BitIStream::peekBits(), HPack::BitIStream::skipBits(), and HPack::BitIStream::streamOffset().

Referenced by HPack::huffman_decode_string().

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

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