Skip to main content

MAX_FRAME_OUTPUT

Constant MAX_FRAME_OUTPUT 

Source
pub const MAX_FRAME_OUTPUT: usize = _; // 2_097_152usize
Expand description

Safety ceiling for the decompressed size of a single frame.

The protocol keeps frames ≤ CHUNK_SIZE; this limit is a guard against buggy or hostile peers.