![]() |
NDEVR
API Documentation
|
A zlib decompression stream wrapper used by TightDecoder to inflate compressed VNC data. More...
Public Member Functions | |
| ZlibInStream () | |
| Constructs and initializes the zlib stream. | |
| ~ZlibInStream () | |
| Destructor. | |
| void | deinit () |
| Releases the zlib inflate state. | |
| void | flushUnderlying () |
| Flushes any remaining data in the underlying buffer. | |
| void | init () |
| Initializes the zlib inflate state. | |
| bool | readBytes (uint01 *data, size_t length) |
| Reads and decompresses bytes from the stream. | |
| void | reset () |
| Resets the stream, clearing buffered data and reinitializing zlib. | |
| void | setUnderlying (const uint01 *is, size_t bytesIn_) |
| Appends compressed data to the internal buffer. | |
A zlib decompression stream wrapper used by TightDecoder to inflate compressed VNC data.
Definition at line 14 of file TightDecoder.h.
|
inline |
Destructor.
Releases zlib resources.
Definition at line 26 of file TightDecoder.h.
References deinit().
| bool ZlibInStream::readBytes | ( | uint01 * | data, |
| size_t | length ) |
Reads and decompresses bytes from the stream.
| [out] | data | Destination buffer for decompressed data. |
| [in] | length | Number of bytes to decompress. |
|
inline |
Appends compressed data to the internal buffer.
| [in] | is | Pointer to compressed data bytes. |
| [in] | bytesIn_ | Number of bytes to append. |
Definition at line 34 of file TightDecoder.h.
References cast().
Referenced by flushUnderlying().