Package com.itextpdf.kernel.pdf.filters
Class ASCII85DecodeFilter
java.lang.Object
com.itextpdf.kernel.pdf.MemoryLimitsAwareFilter
com.itextpdf.kernel.pdf.filters.ASCII85DecodeFilter
- All Implemented Interfaces:
-
IFilterHandler
Handles ASCII85Decode filter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
ASCII85Decode
(byte[] in) Decodes the input bytes according to ASCII85.byte[]
decode
(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.Methods inherited from class com.itextpdf.kernel.pdf.MemoryLimitsAwareFilter
enableMemoryLimitsAwareHandler
-
Constructor Details
-
ASCII85DecodeFilter
public ASCII85DecodeFilter()
-
-
Method Details
-
ASCII85Decode
public static byte[] ASCII85Decode(byte[] in) Decodes the input bytes according to ASCII85.- Parameters:
-
in
- the byte[] to be decoded - Returns:
- the decoded byte[]
-
decode
public byte[] decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.- Parameters:
-
b
- the bytes that need to be decoded -
filterName
- PdfName of the filter -
decodeParams
- decode parameters -
streamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[]. - Returns:
- decoded byte array
-