class final readonly Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Jbig2\HuffmanSelection
Standard/custom selection order, including Huffman-coded refinement substreams.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDFToolkit\Codecs\DecodeBudget $budget, PDFToolkit\Codecs\Jbig2\StandardTables $standard)

Declared by PDFToolkit\Codecs\Jbig2\HuffmanSelection · View the code ↗

Declared methods

aggregate()

public function aggregate(): array
@return array<string,HuffmanTable>

Declared by PDFToolkit\Codecs\Jbig2\HuffmanSelection · View the code ↗

customTable()

Declared by PDFToolkit\Codecs\Jbig2\HuffmanSelection · View the code ↗

dictionary()

public function dictionary(int $flags, array $custom): array
@param list<HuffmanTable> $custom
@return array<string,HuffmanTable>

Declared by PDFToolkit\Codecs\Jbig2\HuffmanSelection · View the code ↗

text()

public function text(int $flags, bool $refinement, array $custom, PDFToolkit\Codecs\Jbig2\BitInput $input, int $symbols): array
@param list<HuffmanTable> $custom
@return array<string,HuffmanTable>

Declared by PDFToolkit\Codecs\Jbig2\HuffmanSelection · View the code ↗