Files
Aerofoil/unpacktool/CompactProRLEDecompressor.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

21 lines
404 B
C++

#pragma once
#include "IDecompressor.h"
class CompactProRLEDecompressor : public IDecompressor
{
public:
CompactProRLEDecompressor();
~CompactProRLEDecompressor();
bool Reset(CSInputBuffer *input, size_t compressedSize, size_t decompressedSize);
bool ReadBytes(void *dest, size_t numBytes);
public:
CSInputBuffer *input;
int saved, repeat;
bool halfescaped;
bool EmitOneByte(uint8_t &b);
};