iText 7 7.1.9 API
iText.Kernel.Pdf.Filters.LZWDecodeFilter Class Reference

Handles LZWDECODE filter More...

Inheritance diagram for iText.Kernel.Pdf.Filters.LZWDecodeFilter:
iText.Kernel.Pdf.MemoryLimitsAwareFilter iText.Kernel.Pdf.Filters.IFilterHandler

Public Member Functions

override byte[]  Decode (byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
  Decode the byte[] using the provided filterName. More...
 
- Public Member Functions inherited from iText.Kernel.Pdf.MemoryLimitsAwareFilter
virtual MemoryStream  EnableMemoryLimitsAwareHandler (PdfDictionary streamDictionary)
  Creates a MemoryLimitsAwareOutputStream which will be used for decompression of the passed pdf stream. More...
 

Static Public Member Functions

static byte[]  LZWDecode (byte[] @in)
  Decodes a byte[] according to the LZW encoding. More...
 

Detailed Description

Handles LZWDECODE filter

Member Function Documentation

◆ Decode()

override byte [] iText.Kernel.Pdf.Filters.LZWDecodeFilter.Decode ( byte[]  b,
PdfName  filterName,
PdfObject  decodeParams,
PdfDictionary  streamDictionary 
)
inlinevirtual

Decode the byte[] using the provided filterName.

Implements iText.Kernel.Pdf.MemoryLimitsAwareFilter.

◆ LZWDecode()

static byte [] iText.Kernel.Pdf.Filters.LZWDecodeFilter.LZWDecode ( byte @[]  in )
inlinestatic

Decodes a byte[] according to the LZW encoding.

Parameters
in byte[] to be decoded
Returns
decoded byte[]