|
using | ErrorString = char const* |
|
std::optional< ErrorString > | compress (std::span< uint8_t const > const &rawData) override |
std::optional< ErrorString > | uncompress (std::span< uint8_t const > const &data) override |
void | setMaxUncompressedSize (uint32_t value) |
uint32_t | getMaxUncompressedSize () const |
void | setBlockSize (int blockSize) |
int | getBlockSize () const |
void | setWorkFactor (int factor) |
int | getWorkFactor () const |
| Compressor ()=default |
| Compressor (Compressor const &compressor)=default |
| Compressor (Compressor &&compressor) noexcept=default |
std::size_t | getLastCompressionSize () const |
std::vector< uint8_t > const & | getBuffer () const |
|
std::vector< uint8_t > | _g_buffer |
std::size_t | _g_lastCompressionSize {0} |
◆ compress()
std::optional< ErrorString > fge::CompressorBZ2::compress |
( |
std::span< uint8_t const > const & | rawData | ) |
|
|
nodiscardoverridevirtual |
◆ uncompress()
std::optional< ErrorString > fge::CompressorBZ2::uncompress |
( |
std::span< uint8_t const > const & | data | ) |
|
|
nodiscardoverridevirtual |
The documentation for this class was generated from the following file: