qb  2.0.0.0
C++17 Actor Framework
qb Issue Watch Star Fork Follow @isndev
Loading...
Searching...
No Matches
qb::compression::deflate::to_compress Struct Reference

Structure for passing compression parameters for deflate. More...

#include <compression.h>

Public Attributes

const char * data
 Pointer to the data to compress.
std::size_t size
 Size of the data in bytes.
int level = Z_DEFAULT_COMPRESSION
 Compression level.
size_t size_compressed
 [out] Size of the compressed data

Detailed Description

Structure for passing compression parameters for deflate.

This structure encapsulates the parameters for a deflate compression operation and provides a place to store the result.