class final Core · roukmoute/pdf 0.6.2

PDF\Syntax\FileStructure\CrossReferenceStream
Unsigned, big-endian cross-reference records with explicit sparse Index.

ISO 32000-1, 7.5.8. Records are sorted by object number. Widths are computed
from the largest field values; no floating point or platform-endian packing.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StreamObject

Interfaces : PDF\Syntax\FileStructure\BasicType, PDF\Syntax\FileStructure\CrossReferenceStreamObject, Stringable

Construction

__construct()

Declared by PDF\Syntax\FileStructure\CrossReferenceStream · View the code ↗

Declared methods

decodedBytes()

public function decodedBytes(): string

Declared by PDF\Syntax\FileStructure\CrossReferenceStream · View the code ↗

entries()

public function entries(): array
@return list<CrossReferenceStreamEntry>

Declared by PDF\Syntax\FileStructure\CrossReferenceStream · View the code ↗

fieldWidths()

public function fieldWidths(): array
@return array{int, int, int}

Declared by PDF\Syntax\FileStructure\CrossReferenceStream · View the code ↗

withFilters()

public function withFilters(PDF\Syntax\Filters\Filter ...$filters): self

Declared by PDF\Syntax\FileStructure\CrossReferenceStream · View the code ↗

Inherited methods

4 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

bytes()

public function bytes(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

dictionary()

public function dictionary(): PDF\Syntax\Object\DictionaryType

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StreamObject · View the code ↗

Properties