30 underlying.
addAll(is, bytesIn_);
70 memcpy(buffer, value, size);
78 static uint04 ReadCompact(QTcpSocket* is);
79 static void FilterGradient(
const uint01* inbuf,
const PixelFormat& pf,
uint04* outbuf,
int stride,
const QRect& r);
81 static void FilterPalette(
const uint01* palette,
uint04 palSize,
const uint01* inbuf,
uint01* outbuf,
int stride,
const QRect& r,
uint04 pixel_size);
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
void addAll(const Buffer< t_type, t_other_index_type, t_other_memory_allocator, t_other_memory_manager > &buffer)
Definition Buffer.hpp:248
void clear()
Definition Buffer.hpp:572
Definition TightDecoder.h:56
static void CopyToBuffer(uint01 *&buffer, void *value, uint04 size, uint04 &total_size)
Definition TightDecoder.h:68
static void ReadAll(QTcpSocket *is, uint01 *os, uint04 size)
Definition TightDecoder.cpp:74
TightDecoder()
Definition TightDecoder.h:59
virtual ~TightDecoder()
Definition TightDecoder.h:63
static bool ReadRect(const QRect &r, QTcpSocket *is, const PixelFormat &pf, QImage &pb)
Definition TightDecoder.cpp:88
Definition TightDecoder.h:14
void init()
Definition TightDecoder.cpp:23
void flushUnderlying()
Definition TightDecoder.h:33
ZlibInStream()
Definition TightDecoder.h:16
~ZlibInStream()
Definition TightDecoder.h:23
void deinit()
Definition TightDecoder.cpp:37
bool readBytes(uint01 *data, size_t length)
Definition TightDecoder.cpp:45
void setUnderlying(const uint01 *is, size_t bytesIn_)
Definition TightDecoder.h:28
void reset()
Definition TightDecoder.h:38
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120