StreamDecoder
Overview
StreamDecoder is a class in Aspose.PDF FOSS for Python.
Decode PDF stream data using supported filters.
This class provides 3 methods for working with StreamDecoder objects in Python programs.
Available methods include: decode, init_dict, read_bits.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Methods
| Signature | Description |
|---|---|
read_bits(n: int) → int | Calls read_bits(n) on this StreamDecoder instance. |
init_dict() | Calls init_dict on this StreamDecoder instance. |
decode(data: bytes, filters: Any, decode_parms: Any, limits: PdfLoadLimits | None, max_output_bytes: int | None) → bytes | Decode data using filters and optional decode_parms. |