| 1 |
/* Copyright (C) Teemu Suutari */ |
| 2 |
|
| 3 |
#ifndef LH1DECOMPRESSOR_HPP |
| 4 |
#define LH1DECOMPRESSOR_HPP |
| 5 |
|
| 6 |
#include "Decompressor.hpp" |
| 7 |
|
| 8 |
namespace ancient::internal |
| 9 |
{ |
| 10 |
|
| 11 |
class LH1Decompressor : public Decompressor |
| 12 |
{ |
| 13 |
public: |
| 14 |
LH1Decompressor(const Buffer &packedData); |
| 15 |
virtual ~LH1Decompressor(); |
| 16 |
|
| 17 |
virtual size_t getRawSize() const noexcept override final; |
| 18 |
virtual size_t getPackedSize() const noexcept override final; |
| 19 |
|
| 20 |
virtual const std::string &getName() const noexcept override final; |
| 21 |
|
| 22 |
virtual void decompressImpl(Buffer &rawData,bool verify) override final; |
| 23 |
|
| 24 |
private: |
| 25 |
const Buffer &_packedData; |
| 26 |
}; |
| 27 |
|
| 28 |
} |
| 29 |
|
| 30 |
#endif |