mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
Add unpacktool
This commit is contained in:
20
unpacktool/CompactProRLEDecompressor.h
Normal file
20
unpacktool/CompactProRLEDecompressor.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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);
|
||||
};
|
Reference in New Issue
Block a user