StreamDecoder

StreamDecoder

概述

StreamDecoder 是 Aspose.PDF FOSS 中用于 Python 的类。

使用受支持的过滤器解码 PDF 流数据。

此类提供3个方法,用于在 Python 程序中处理 StreamDecoder 对象。可用的方法包括:decode、init_dict、read_bits。在安装了 Aspose.PDF FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。

方法

签名描述
read_bits(n: int) → int在此 StreamDecoder 实例上调用 read_bits(n)。
init_dict()在此 StreamDecoder 实例上调用 init_dict。
`decode(data: bytes, filters: Any, decode_parms: Any, limits: PdfLoadLimitsNone, max_output_bytes: int

另请参阅

 中文