Files
Aerofoil/unpacktool/CompactProLZHDecompressor.h
Diomendius 1b18a87495 Normalize line endings
This commit contains only the result of `git add --renormalize .`

`git show --ignore-space-change` can verify that this commit only
changes whitespace.
2024-07-31 20:21:47 +12:00

24 lines
537 B
C++

#pragma once
#include "LZSSDecompressor.h"
#include "IFileReader.h"
class XADPrefixCode;
class CompactProLZHDecompressor : public LZSSDecompressor
{
public:
explicit CompactProLZHDecompressor(int blocksize);
~CompactProLZHDecompressor();
private:
bool nextLiteralOrOffset(int *offset, int *length, int &result) override;
bool resetLZSSHandle() override;
XADPrefixCode *allocAndParseCodeOfSize(int size);
XADPrefixCode *literalcode, *lengthcode, *offsetcode;
int blocksize, blockcount;
IFileReader::FilePos_t blockstart;
};