Skip to main content

MAX_DECODER_WINDOW_SIZE

Constant MAX_DECODER_WINDOW_SIZE 

Source
pub const MAX_DECODER_WINDOW_SIZE: u64 = _ /* 2_147_483_648u64 */;
Expand description

Largest window any decode accepts, the ceiling FrameDecoder::set_max_window_size can be raised to. The largest window this build decodes on any path, however far the ceiling is raised: upstream ZSTD_WINDOWLOG_MAX, 1 << 31 on 64-bit targets and 1 << 30 on 32-bit ones, where a larger window could not be addressed.