|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Deflate decompression options. More...
#include <GREM/core/formats/deflate.hpp>
Public Attributes | |
| size_t | estimatedDecompressedSizeInBytes = 1024 |
| Estimated size of the decompressed data, in bytes. | |
| size_t | maxDecompressedSizeInBytes = (uint64_t{8'589'934'592ull} <= uint64_t{Limits<size_t>::MAX}) ? static_cast<size_t>(uint64_t{8'589'934'592ull}) : size_t{2'147'483'648ull} |
| Maximum size of the decompressed data. | |
Deflate decompression options.
| size_t grem::deflate::DecompressionOptions::estimatedDecompressedSizeInBytes = 1024 |
Estimated size of the decompressed data, in bytes.
This number of bytes will be reserved in the output buffer initially. The closer it is to the final size of the decompressed data, the fewer unnecessary reallocations will need to be performed while decompressing.
| size_t grem::deflate::DecompressionOptions::maxDecompressedSizeInBytes = (uint64_t{8'589'934'592ull} <= uint64_t{Limits<size_t>::MAX}) ? static_cast<size_t>(uint64_t{8'589'934'592ull}) : size_t{2'147'483'648ull} |
Maximum size of the decompressed data.
If the output buffer would exceed this size (plus its initial size) while decompressing, an exception is thrown.