Debian Codegraph @

src/attic/Lzh/LZHDecompressor.hpp

raw
1 /* Copyright (C) Teemu Suutari */
2
3 #ifndef LZHDECOMPRESSOR_HPP
4 #define LZHDECOMPRESSOR_HPP
5
6 #include "Decompressor.hpp"
7
8 namespace ancient::internal
9 {
10
11 class LZHDecompressor : public Decompressor
12 {
13 public:
14 LZHDecompressor(const Buffer &packedData,const std::string &method);
15 virtual ~LZHDecompressor();
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 std::string _method;
28 };
29
30 }
31
32 #endif