class final Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\DecodeBudget
One decoding operation owns all accounting, including global segments and intermediate buffers.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDFToolkit\Codecs\DecodeLimits $limits = new DecodeLimits())

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

Declared methods

dimensions()

public function dimensions(int $width, int $height, int $components): void

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

input()

public function input(PDFToolkit\Codecs\DecodeRequest $request): void

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

output()

public function output(int $bytes): void

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

reserve()

public function reserve(int $bytes): void
Cumulative allocations, including copied buffers; this is not a PHP process memory limit.

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

work()

public function work(int $count = 1): void

Declared by PDFToolkit\Codecs\DecodeBudget · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDFToolkit\Codecs\DecodeLimits $limitsPDFToolkit\Codecs\DecodeBudget