class final Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Arithmetic\ContextBuffer
Mutable request-scoped MQ states: seven state bits and one MPS bit per context.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(int $size, PDFToolkit\Codecs\DecodeBudget $budget)

Declared by PDFToolkit\Codecs\Arithmetic\ContextBuffer · View the code ↗

Declared methods

get()

public function get(int $index): int

Declared by PDFToolkit\Codecs\Arithmetic\ContextBuffer · View the code ↗

reset()

public function reset(): void

Declared by PDFToolkit\Codecs\Arithmetic\ContextBuffer · View the code ↗

set()

public function set(int $index, int $state, int $mps): void

Declared by PDFToolkit\Codecs\Arithmetic\ContextBuffer · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly int $sizePDFToolkit\Codecs\Arithmetic\ContextBuffer