class final readonly Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Jbig2\HuffmanTable
Annex B canonical codes, bounded without a recursive tree; PDF.js Apache-2.0 adaptation.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(array $lines, bool $explicit, PDFToolkit\Codecs\DecodeBudget $budget)
@param list<array<int, int|string>> $lines [low,length,range,code,lower?] or [length,code] for OOB

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

Declared methods

decode()

public function decode(PDFToolkit\Codecs\Jbig2\BitInput $input): ?int

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

required()

public function required(PDFToolkit\Codecs\Jbig2\BitInput $input): int

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

Properties

DeclarationOrigin and documentation
public readonly bool $hasOutOfBandPDFToolkit\Codecs\Jbig2\HuffmanTable