pub fn decode_stream(data: &[u8], dict: &PdfDict) -> Result<Vec<u8>>Expand description
Decode a PDF stream through its filter chain using default limits.
Temporary backward compatibility wrapper - allows existing code to compile while we migrate call sites to pass explicit ParseLimits. This uses default limits (2 GiB decoded budget), which provides DoS protection but isn’t customizable.
New code should use decode_stream_with_limits and pass the active ParseLimits.
This wrapper will be removed once all call sites are migrated.