Add unpacktool

This commit is contained in:
elasota
2020-05-09 21:05:58 -04:00
parent b849d23f4e
commit ebb6d7608e
65 changed files with 6419 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include "IDecompressor.h"
class RLE90Decompressor : public IDecompressor
{
public:
RLE90Decompressor();
bool Reset(CSInputBuffer *input, size_t compressedSize, size_t decompressedSize) override;
bool ReadBytes(void *dest, size_t numBytes) override;
private:
CSInputBuffer *m_input;
uint8_t m_repeatedByte;
uint8_t m_count;
};