class final readonly Core · roukmoute/pdf 0.6.2

PDF\Syntax\FileStructure\FileRevision
Frozen serialized bytes and document-scoped reference bindings; this is not a PDF parser.

Read the source declaration ↗

Inheritance and contracts

Interfaces : Stringable

Construction

__construct()

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

Declared methods

__toString()

public function __toString(): string

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

binding()

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

compressedObjects()

public function compressedObjects(): array
@return array<int, CrossReferenceStreamCompressedEntry>

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

objects()

public function objects(): array
@return list<RevisionObject>

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

reference()

Return an ordinary typed reference to the effective value, never a target-less placeholder.

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

references()

public function references(): array
@return list<RevisionReference>

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

retiredObjects()

public function retiredObjects(): array
@return list<RetiredObjectGeneration>

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

span()

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

spans()

public function spans(): array
@return list<ObjectByteSpan>

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

wasReusedNumber()

public function wasReusedNumber(int $number): bool
ISO 7.5.7: even a previously unused hole allocated at generation zero is no longer a new number.

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

withReservedBytes()

public function withReservedBytes(string $bytes, PDF\Syntax\FileStructure\RevisionObject $replacement): self
Replace reserved bytes without moving objects or changing reference identities.

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

writeTo()

public function writeTo(string $path): void

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

Properties