class final readonly Optionnel · pdftoolkit/pdf-fonts 0.1.7

PDF\Fonts\TrueType\BinaryReader
Bounded, big-endian access to an immutable sfnt table or font program.

Lire la déclaration source ↗

Héritage et contrats

Ce type ne déclare pas de parent, d’interface ou de trait.

Construction

__construct()

public function __construct(string $bytes, int $origin = 0, ?int $length = null)

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

Méthodes déclarées

int16()

public function int16(int $offset): int

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

int32()

public function int32(int $offset): int

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

length()

public function length(): int

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

slice()

public function slice(int $offset, int $length): string

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

uint16()

public function uint16(int $offset): int

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

uint32()

public function uint32(int $offset): int

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗

view()

public function view(int $offset, int $length): self
A zero-copy immutable view, bounded by this reader rather than the source.

Déclarée par PDF\Fonts\TrueType\BinaryReader · Voir le code ↗