|
| static std::vector< uint8_t > | Compress (const std::vector< uint8_t > &input, int compressionLevel=3) |
| | Compresses the input data using Zstandard at the given compression level.
|
| |
| static std::vector< uint8_t > | Decompress (const std::vector< uint8_t > &compressed, size_t uncompressedSize) |
| | Decompresses the given compressed buffer expecting the uncompressed size.
|
| |
◆ Compress()
| std::vector< uint8_t > PixelBullet::Compressor::Compress |
( |
const std::vector< uint8_t > & | input, |
|
|
int | compressionLevel = 3 ) |
|
static |
Compresses the input data using Zstandard at the given compression level.
◆ Decompress()
| std::vector< uint8_t > PixelBullet::Compressor::Decompress |
( |
const std::vector< uint8_t > & | compressed, |
|
|
size_t | uncompressedSize ) |
|
static |
Decompresses the given compressed buffer expecting the uncompressed size.
The documentation for this class was generated from the following files:
- engine/src/PixelBullet/Assets/Compressor.hpp
- engine/src/PixelBullet/Assets/Compressor.cpp