#include <decompressor.h>
Public Member Functions | |
int | unpack (Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) override |
Protected Member Functions | |
int16 | getc2 () |
Protected Member Functions inherited from Sci::Decompressor | |
virtual void | init (Common::ReadStream *src, byte *dest, uint32 nPacked, uint32 nUnpacked) |
uint32 | getBitsMSB (int n) |
uint32 | getBitsLSB (int n) |
byte | getByteMSB () |
byte | getByteLSB () |
void | fetchBitsMSB () |
void | fetchBitsLSB () |
virtual void | putByte (byte b) |
bool | isFinished () |
Protected Attributes | |
byte * | _nodes |
Protected Attributes inherited from Sci::Decompressor | |
uint32 | _dwBits |
bits buffer | |
byte | _nBits |
number of unread bits in _dwBits | |
uint32 | _szPacked |
size of the compressed data | |
uint32 | _szUnpacked |
size of the decompressed data | |
uint32 | _dwRead |
number of bytes read from _src | |
uint32 | _dwWrote |
number of bytes written to _dest | |
Common::ReadStream * | _src |
byte * | _dest |
Huffman decompressor