class final Optionnel · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Arithmetic\MqDecoder
MQ decoding, ISO/IEC 15444-1 Annex C; also used by JBIG2.
Adapted from Mozilla PDF.js arithmetic_decoder.js, copyright 2012 Mozilla Foundation,
Apache-2.0, revision ce87167432819f85df49b6b16c7a78556e9a4ee0.
Bounds, explicit budgets and PHP 64-bit state are local adaptations.

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(string $bytes, int $start, int $end, PDFToolkit\Codecs\DecodeBudget $budget)

Déclarée par PDFToolkit\Codecs\Arithmetic\MqDecoder · Voir le code ↗

Méthodes déclarées

readBit()

public function readBit(PDFToolkit\Codecs\Arithmetic\ContextBuffer $contexts, int $context): int

Déclarée par PDFToolkit\Codecs\Arithmetic\MqDecoder · Voir le code ↗