mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 15:16:38 +00:00
Add unpacktool
This commit is contained in:
22
unpacktool/StuffIt13Decompressor.h
Normal file
22
unpacktool/StuffIt13Decompressor.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "LZSSDecompressor.h"
|
||||
#include "IFileReader.h"
|
||||
|
||||
class XADPrefixCode;
|
||||
|
||||
class StuffIt13Decompressor : public LZSSDecompressor
|
||||
{
|
||||
public:
|
||||
StuffIt13Decompressor();
|
||||
~StuffIt13Decompressor();
|
||||
|
||||
private:
|
||||
XADPrefixCode *firstcodei, *secondcodei, *offsetcodei;
|
||||
XADPrefixCode *firstcoder, *secondcoder, *offsetcoder;
|
||||
XADPrefixCode *currcode;
|
||||
|
||||
bool resetLZSSHandle();
|
||||
XADPrefixCode *allocAndParseCodeOfSize(int numcodes, XADPrefixCode *metacode);
|
||||
bool nextLiteralOrOffset(int *offset, int *length, int &result);
|
||||
};
|
Reference in New Issue
Block a user