iTextSharp.text.pdf.PdfReader.LZWDecode C# (CSharp) Метод

LZWDecode() публичный статический Метод

public static LZWDecode ( byte inp ) : byte[]
inp byte
Результат byte[]
        public static byte[] LZWDecode(byte[] inp) {
            MemoryStream outp = new MemoryStream();
            LZWDecoder lzw = new LZWDecoder();
            lzw.Decode(inp, outp);
            return outp.ToArray();
        }
        

Usage Example

Пример #1
0
            public byte[] Decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
            {
                MemoryStream outS = EnableMemoryLimitsAwareHandler(streamDictionary);

                b = PdfReader.LZWDecode(b, outS);
                b = PdfReader.DecodePredictor(b, decodeParams);
                return(b);
            }
All Usage Examples Of iTextSharp.text.pdf.PdfReader::LZWDecode