Com\Tecnick\Pdf\Filter\Type\Lzw
LZWDecode Decompresses data encoded using the LZW (Lempel-Ziv-Welch) adaptive compression method, reproducing the original text or binary data.
Tags
Table of Contents
Methods
decode()
Decode the data
public decode(string $data)
: string
Parameters
- $data : string
-
Data to decode.
Return values
string —Decoded data string.
process()
Internal processing
protected process(string &$decoded,
string &$bitstring,
int &$bitlen,
int &$data_length,
int &$index,
array<string|int,
mixed> &$dictionary,
int &$dix,
int &$prev_index)
: mixed
Parameters
- $decoded : string
- $bitstring : string
- $bitlen : int
- $data_length : int
- $index : int
- $dictionary : array<string|int, mixed>
- $dix : int
- $prev_index : int