MaxDecodedStreamLength Property

Definition

Namespace Broadside
Assembly Broadside.dll

Gets or sets the most bytes one stream may decode to; longer output is truncated with a diagnostic. Default 1 GiB.

public long MaxDecodedStreamLength { get; set; }

Returns

Remarks

ISO 32000-2 §7.4. Guards against decompression bombs; a stream's DL entry is only a hint (§7.3.8.2, Table 5).