class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\ImageCodecs\InspectionBudget
Cumulative native preflight work and conservative retained/intermediate bytes. @internal

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Reading\ImageCodecs\CodecRequest $request)

Declared by PDF\Reading\ImageCodecs\InspectionBudget · View the code ↗

Declared methods

remainingMemory()

public function remainingMemory(): int

Declared by PDF\Reading\ImageCodecs\InspectionBudget · View the code ↗

retain()

public function retain(int $bytes): void

Declared by PDF\Reading\ImageCodecs\InspectionBudget · View the code ↗

work()

public function work(int $units): void

Declared by PDF\Reading\ImageCodecs\InspectionBudget · View the code ↗