class final Core · roukmoute/pdf 0.6.2

PDF\Syntax\Filters\LzwEncodingTable
State belongs to one encoding call; prefix/byte pairs avoid storing repeated long strings.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\Filters\EarlyChange $earlyChange)

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗

Declared methods

append()

public function append(int $prefix, int $byte): bool
True means the last available entry was created and a clear marker is required.

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗

bits()

public function bits(): PDF\Syntax\Object\IntegerType

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗

clear()

public function clear(): void

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗

endMarkerBits()

public function endMarkerBits(): PDF\Syntax\Object\IntegerType
The decoder catches up after the final data code, before reading EOD.

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗

lookup()

public function lookup(int $prefix, int $byte): ?int

Declared by PDF\Syntax\Filters\LzwEncodingTable · View the code ↗