Debian Codegraph @

src/attic/Zip/ReduceDecompressor.hpp

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