retdec
nrv2b_data.h
Go to the documentation of this file.
1 
7 #ifndef RETDEC_UNPACKER_DECOMPRESSION_NRV_NRV2B_DATA_H
8 #define RETDEC_UNPACKER_DECOMPRESSION_NRV_NRV2B_DATA_H
9 
10 #include <cstdint>
11 #include <vector>
12 
15 
16 namespace retdec {
17 namespace unpacker {
18 
19 class Nrv2bData : public NrvData
20 {
21 public:
22  Nrv2bData() = delete;
23  Nrv2bData(const DynamicBuffer& buffer, BitParser* bitParser);
24  Nrv2bData(const Nrv2bData&) = 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: nrv2b_data.h:20
virtual bool decompress(DynamicBuffer &outputBuffer) override
Definition: nrv2b_data.cpp:17
Nrv2bData(const Nrv2bData &)=delete
Nrv2bData & operator=(const Nrv2bData &)
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.