class final Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Jpeg\JpegInput
Bounded cursor shared by marker and entropy readers; never scans for recovery. @internal

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

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

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

Declared methods

byte()

public function byte(): int
@phpstan-impure

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

finish()

public function finish(int $end): void

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

marker()

public function marker(): int

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

segmentEnd()

public function segmentEnd(): int

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

take()

public function take(int $length): string

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

word()

public function word(): int

Declared by PDFToolkit\Codecs\Jpeg\JpegInput · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly int $lengthPDFToolkit\Codecs\Jpeg\JpegInput
public int $positionPDFToolkit\Codecs\Jpeg\JpegInput