pub const MAX_DECOMPRESSED_LEN: usize = _; // 16_777_216usizeAvailable on crate feature
std only.Expand description
Default upper bound on decompressed output (16 MiB). A conservative ceiling on
the largest plaintext a single frame may expand to; the established-session
TcpSessionTransport frame cap is tighter still (4 MiB), so this never gates
legitimate traffic. Decompression is an asymmetric operation: a few KiB of
crafted LZ4/Zstd can expand to gigabytes (a “decompression bomb”).
AdaptiveCompressor::decompress enforces this cap unconditionally; callers
that need a different bound use AdaptiveCompressor::decompress_with_limit.