public virtual byte[] Decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary ) { b = LZWDecode(b); b = FlateDecodeFilter.DecodePredictor(b, decodeParams); return(b); }
/// <summary><inheritDoc/></summary> public override byte[] Decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary ) { MemoryStream outputStream = EnableMemoryLimitsAwareHandler(streamDictionary); b = LZWDecodeInternal(b, outputStream); b = FlateDecodeFilter.DecodePredictor(b, decodeParams); return(b); }