Class LzwDecoder
- Namespace
- iTextSharp.text.pdf
- Assembly
- iTextSharp.LGPLv2.Core.dll
A class for performing LZW decoding.
public class LzwDecoder
- Inheritance
-
LzwDecoder
- Inherited Members
Constructors
LzwDecoder()
public LzwDecoder()
Properties
NextCode
Returns the next 9, 10, 11 or 12 bits
public int NextCode { get; }
Property Value
Methods
AddStringToTable(byte[])
Add a new string to the string table.
public void AddStringToTable(byte[] str)
Parameters
str
byte[]
AddStringToTable(byte[], byte)
Add a new string to the string table.
public void AddStringToTable(byte[] oldstring, byte newstring)
Parameters
ComposeString(byte[], byte)
Append newstring to the end of oldstring .
public static byte[] ComposeString(byte[] oldstring, byte newstring)
Parameters
Returns
- byte[]
Decode(byte[], Stream)
Method to decode LZW compressed data.
public void Decode(byte[] data, Stream uncompData)
Parameters
InitializeStringTable()
Initialize the string table.
public void InitializeStringTable()
WriteString(byte[])
Write out the string just uncompressed.
public void WriteString(byte[] str)
Parameters
str
byte[]