42 std::unique_ptr<RawData> input (vfs->
open(datfile));
43 input->setIndex(info.
offset);
45 if (info.
type == 0x40) {
A helper class for unpacking LZSS encoded data.
Simpe RawDataSource that reads data from raw memory.
RawData * open(const std::string &path)
Open a file.
uint8_t * getRawData() const
Get a Pointer to the data You need to use this function to fill the class with meaningfull data...
The needed information for the extraction.
the main VFS (virtual file system) class
void decode(RawData *input, uint8_t *output, const uint32_t outputsize)
Decodes from a file into a pointer.
RawDataDAT1(VFS *vfs, const std::string &datfile, const s_info &info)
Constructor.
virtual uint32_t getSize() const
get the complete datasize