![]() |
Qt 6.x
The Qt SDK
|
#include <bitstreams_p.h>
Public Member Functions | |
BitOStream (std::vector< uchar > &buffer) | |
void | writeBits (uchar bits, quint8 bitLength) |
void | write (quint32 src) |
void | write (QByteArrayView src, bool compressed) |
quint64 | bitLength () const |
quint64 | byteLength () const |
const uchar * | begin () const |
const uchar * | end () const |
void | clear () |
Definition at line 34 of file bitstreams_p.h.
HPack::BitOStream::BitOStream | ( | std::vector< uchar > & | buffer | ) |
Definition at line 18 of file bitstreams.cpp.
const uchar * HPack::BitOStream::begin | ( | ) | const |
Definition at line 98 of file bitstreams.cpp.
quint64 HPack::BitOStream::bitLength | ( | ) | const |
Definition at line 88 of file bitstreams.cpp.
Referenced by HPack::huffman_encode_string(), and writeBits().
quint64 HPack::BitOStream::byteLength | ( | ) | const |
Definition at line 93 of file bitstreams.cpp.
void HPack::BitOStream::clear | ( | ) |
Definition at line 108 of file bitstreams.cpp.
const uchar * HPack::BitOStream::end | ( | ) | const |
Definition at line 103 of file bitstreams.cpp.
void HPack::BitOStream::write | ( | QByteArrayView | src, |
bool | compressed | ||
) |
Definition at line 66 of file bitstreams.cpp.
References compressed, HPack::huffman_encode_string(), HPack::huffman_encoded_bit_length(), Q_ASSERT, write(), and writeBits().
Definition at line 41 of file bitstreams.cpp.
References Q_ASSERT, and writeBits().
Referenced by HPack::Encoder::encodeSizeUpdate(), and write().
Definition at line 25 of file bitstreams.cpp.
References bitLength(), and Q_ASSERT.
Referenced by HPack::huffman_encode_string(), write(), and write().