iText 7 7.1.8 API
|
A class for performing LZW decoding. More...
Public Member Functions |
|
LZWDecoder () | |
Creates an LZWDecoder instance. More... |
|
virtual void | Decode (byte[] data, Stream uncompData) |
Method to decode LZW compressed data. More... |
|
virtual void | InitializeStringTable () |
Initialize the string table. More... |
|
virtual void | WriteString (byte[] @string) |
Write out the string just uncompressed. More... |
|
virtual void | AddStringToTable (byte[] oldString, byte newString) |
Add a new string to the string table. More... |
|
virtual void | AddStringToTable (byte[] @string) |
Add a new string to the string table. More... |
|
virtual byte[] | ComposeString (byte[] oldString, byte newString) |
Append More... |
|
virtual int | GetNextCode () |
Attempt to get the next code. More... |
|
A class for performing LZW decoding.
|
inline |
Creates an LZWDecoder instance.
|
inlinevirtual |
Add a new string to the string table.
string | byte[] to store in the string table |
|
inlinevirtual |
Add a new string to the string table.
oldString | stored string |
newString | string to be appended to the stored string |
|
inlinevirtual |
Append
newString
to the end of oldString
.
oldString | string be appended to |
newString | string that is to be appended to oldString |
|
inlinevirtual |
Method to decode LZW compressed data.
data | The compressed data. |
uncompData | Array to return the uncompressed data in. |
|
inlinevirtual |
Attempt to get the next code.
Attempt to get the next code. Exceptions are caught to make this robust to cases wherein the EndOfInformation code has been omitted from a strip. Examples of such cases have been observed in practice.
|
inlinevirtual |
Initialize the string table.
|
inlinevirtual |
Write out the string just uncompressed.
string | content to write to the uncompressed data |