Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the master branch. The current version is 1.91.0.
Returns the upper limit on the size of a compressed block.
std::size_t upper_bound( std::size_t sourceLen) const;
This function makes a conservative estimate of the maximum number of bytes needed to store the result of compressing a block of data based on the current compression level and strategy.
|
Name |
Description |
|---|---|
|
|
The size of the uncompressed data. |
The maximum number of resulting compressed bytes.