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

SignatureDescription
read_bits(n: int)intCalls 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)bytesDecode data using filters and optional decode_parms.

See Also