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

Result of a compression/decompression operation. More...

#include <compression.h>

Public Attributes

std::size_t input_bytes_processed
 Number of bytes processed from the input buffer.
std::size_t output_bytes_produced
 Number of bytes written to the output buffer.
bool done
 For compress, set when 'last' is true and there was enough space to complete compression; for decompress, set if the end of the decompression stream has been reached.

Detailed Description

Result of a compression/decompression operation.

This structure contains information about the outcome of a compression or decompression operation, including how many bytes were processed and produced, and whether the operation is complete.