MaxDecodedLength Property

Definition

Assembly Broadside.dll

Gets the most bytes one stream may decode to; the pipeline truncates longer output with a diagnostic.

public long MaxDecodedLength { get; init; }

Returns

Remarks

Guards against decompression bombs. A filter that must allocate for its output up front (an image codec sizing a buffer from its header) checks the size against this first.