Base class for compression and decompression
More...
◆ checkInputParams()
virtual void checkInputParams |
( |
byte * |
inBlock, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
Basic checks of input block parameters
- Parameters
-
[in] | inBlock | Pointer to the input data block |
[in] | size | Size in bytes of the input data block |
◆ checkOutputParams()
virtual void checkOutputParams |
( |
byte * |
outBlock, |
|
|
size_t |
size |
|
) |
| |
|
inlinevirtual |
Basic checks of output block parameters
- Parameters
-
[in] | outBlock | Pointer to output data block |
[in] | size | Size in bytes of the output data block |
◆ getUsedOutputDataBlockSize()
size_t getUsedOutputDataBlockSize |
( |
| ) |
|
|
inlinevirtual |
Returns the number of bytes used after a call to the run() method
- Returns
- Number of used bytes
Implements CompressionIface.
◆ isOutputDataBlockFull()
bool isOutputDataBlockFull |
( |
| ) |
|
|
inlinevirtual |
Reports whether an output data block is full after a call to the run() method
- Returns
- True if an output data block is full, false otherwise
Implements CompressionIface.
◆ run() [1/2]
virtual void run |
( |
byte * |
outBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
|
pure virtual |
◆ run() [2/2]
◆ setInputDataBlock() [1/2]
virtual void setInputDataBlock |
( |
byte * |
inBlock, |
|
|
size_t |
size, |
|
|
size_t |
offset |
|
) |
| |
|
pure virtual |
◆ setInputDataBlock() [2/2]
virtual void setInputDataBlock |
( |
DataBlock & |
inBlock | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: