class final Optional · pdftoolkit/pdf-codecs 0.1.0

PDFToolkit\Codecs\Jbig2\BitInput
Bounded byte/bit view over an immutable segment; no implicit zero padding.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

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

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

Declared methods

align()

public function align(): void

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

bit()

public function bit(): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

bitOffset()

public function bitOffset(): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

bits()

public function bits(int $count): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

bounded()

public function bounded(int $length): self

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

remaining()

public function remaining(): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

restore()

public function restore(int $position, int $bit): void

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

signed()

public function signed(int $bytes): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

unsigned()

public function unsigned(int $bytes): int

Declared by PDFToolkit\Codecs\Jbig2\BitInput · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly PDFToolkit\Codecs\DecodeBudget $budgetPDFToolkit\Codecs\Jbig2\BitInput
public readonly string $bytesPDFToolkit\Codecs\Jbig2\BitInput
public readonly int $endPDFToolkit\Codecs\Jbig2\BitInput
public int $positionPDFToolkit\Codecs\Jbig2\BitInput