retdec
nrv2d_data.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_UNPACKER_DECOMPRESSION_NRV_NRV2D_DATA_H
8 #define RETDEC_UNPACKER_DECOMPRESSION_NRV_NRV2D_DATA_H
9 
10 #include <cstdint>
11 #include <vector>
12 
15 
16 namespace retdec {
17 namespace unpacker {
18 
19 class Nrv2dData : public NrvData
20 {
21 public:
22  Nrv2dData() = delete;
23  Nrv2dData(const DynamicBuffer& buffer, BitParser* bitParser);
24  Nrv2dData(const Nrv2dData&) = delete;
25 
26  virtual bool decompress(DynamicBuffer& outputBuffer) override;
27 
28 private:
30 };
31 
32 } // namespace unpacker
33 } // namespace retdec
34 
35 #endif
Bit getters for NRV decompression algorithms.
Definition: bit_parsers.h:19
Definition: nrv2d_data.h:20
Nrv2dData(const Nrv2dData &)=delete
virtual bool decompress(DynamicBuffer &outputBuffer) override
Definition: nrv2d_data.cpp:17
Nrv2dData & operator=(const Nrv2dData &)
Definition: nrv_data.h:17
The class for dynamic buffered data manipulation taking the endianness of the data in account.
Definition: dynamic_buffer.h:36
Definition: archive_wrapper.h:19
Supportive functionality for the generic unpacker.
Declaration of abstract class for NRV compressed data.