PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::Compressor Class Reference

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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: