Variable: DEFAULT_DECODE_LIMITS
ts
const DEFAULT_DECODE_LIMITS: Readonly<Required<DecodeLimits>>;Safe defaults for decoding untrusted input.
maxInflatedBytes counts each byte of inflated data once: a nested layer is charged only for growth beyond its own encoded input, which is already part of the parent layer's inflated output. Transient gross allocation while decoding is bounded by roughly maxDepth × maxInflatedBytes.