Files
Aerofoil/unpacktool/RLE90Decompressor.h
Diomendius 5c74c96771 Add unpacktool to CMake, port to *nix
- Adds missing includes, removes some unused ones.
- Removes unused Windows.h and shellapi.h includes.
- Uses / as path separator. This is portable and should still work fine
  on Windows.
2024-08-06 01:28:44 +12:00

20 lines
370 B
C++

#pragma once
#include <cstdint>
#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;
};