public class BrotliFilter extends MemoryLimitsAwareFilter
| Constructor and Description |
|---|
BrotliFilter()
Constructs an empty BrotliFilter instance.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decode(byte[] b,
PdfName filterName,
PdfObject decodeParams,
PdfDictionary streamDictionary)
Decodes Brotli-compressed data from a PDF stream.
|
enableMemoryLimitsAwareHandlerpublic byte[] decode(byte[] b,
PdfName filterName,
PdfObject decodeParams,
PdfDictionary streamDictionary)
b - the bytes that need to be decodedfilterName - PdfName of the filter (unused)decodeParams - decode parameters, may contain a Brotli dictionary stream under key 'D'streamDictionary - the dictionary of the stream. Can contain additional information needed to decode the
byte[]PdfException - if decompression failsCopyright © 1998–2026 Apryse Group NV. All rights reserved.