FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
A helper class for unpacking LZSS encoded data. More...
#include <lzssdecoder.h>
Public Member Functions | |
LZSSDecoder () | |
Constructor. More... | |
~LZSSDecoder () | |
Destructor. More... | |
void | decode (RawData *input, uint8_t *output, const uint32_t outputsize) |
Decodes from a file into a pointer. More... | |
Private Member Functions | |
void | LZSSDecode (uint8_t *in, int64_t len, uint8_t *out) |
Private Attributes | |
uint32_t | m_outlen |
uint32_t | m_outindex |
A helper class for unpacking LZSS encoded data.
Definition at line 39 of file lzssdecoder.h.
FIFE::LZSSDecoder::LZSSDecoder | ( | ) |
Constructor.
Definition at line 36 of file lzssdecoder.cpp.
FIFE::LZSSDecoder::~LZSSDecoder | ( | ) |
Destructor.
Definition at line 37 of file lzssdecoder.cpp.
void FIFE::LZSSDecoder::decode | ( | RawData * | input, |
uint8_t * | output, | ||
const uint32_t | outputsize | ||
) |
Decodes from a file into a pointer.
input | The VFS file to read from |
output | The memory location to write to |
outputsize | The size of the memory location in byte |
Definition at line 40 of file lzssdecoder.cpp.
References LZSSDecode(), m_outindex, m_outlen, FIFE::RawData::read16Big(), and FIFE::RawData::readInto().
Referenced by FIFE::RawDataDAT1::RawDataDAT1().
|
private |
Definition at line 64 of file lzssdecoder.cpp.
References m_outindex.
Referenced by decode().
|
private |
Definition at line 58 of file lzssdecoder.h.
Referenced by decode(), and LZSSDecode().
|
private |
Definition at line 57 of file lzssdecoder.h.
Referenced by decode().