Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::GzipDocumentOptions Struct Reference

Fixed RAM and replay policy; limits do not restrict logical document size. More...

#include <gzip_document.hpp>

Public Attributes

std::size_t compressedBlockBytes {64 * 1024}
 Positive input quantum, at most64KiB.
std::size_t inflateOutputBytes {32 * 1024}
 Positive output quantum; cancellation is checked between calls.
std::uint64_t checkpointStrideBytes {4 * 1024 * 1024}
 Positive logical spacing for optional snapshots.
std::size_t maxCheckpoints {8}
 Live restart snapshots, from zero (disabled) through MAX_CHECKPOINTS.
std::size_t replayBytes {64 * 1024}
 Bounded logical byte replay ring; zero disables it.
std::size_t maxInflateBytes {512 * 1024}
 Aggregate zlib allocation cap, including active and copied states.
std::size_t maxHeaderBytes {1024 * 1024}
 Positive compressed-byte cap for each member header.

Static Public Attributes

static constexpr std::size_t MAX_CHECKPOINTS = 64
 Supported bound for nonblocking optional-cache retirement.

Detailed Description

Fixed RAM and replay policy; limits do not restrict logical document size.


The documentation for this struct was generated from the following file: