XrefParser
in package
FinalYes
Parses a classic cross-reference table and its trailer dictionary.
Uses raw byte reads for the fixed-format xref section (to avoid interleaving tokenized and raw reads on the same Source), then hands off to the ObjectParser for the trailer dictionary only.
Table of Contents
Methods
- __construct() : mixed
- parseClassicXref() : PdfDictionary}
- Parse a classic xref table at the given byte offset.
Methods
__construct()
public
__construct(Tokenizer $tokenizer, Source $source, ObjectParser $objectParser) : mixed
Parameters
- $tokenizer : Tokenizer
- $source : Source
- $objectParser : ObjectParser
parseClassicXref()
Parse a classic xref table at the given byte offset.
public
parseClassicXref(int $offset[, bool $strict = true ][, array<int, string> &$warnings = [] ]) : PdfDictionary}
Parameters
- $offset : int
- $strict : bool = true
- $warnings : array<int, string> = []