Lines Matching refs:reader
18 * This reader class read all cross-reference entries in a single run.
67 * Extracts the cross reference data from the stream reader.
69 * @param StreamReader $reader
73 protected function extract(StreamReader $reader)
78 $reader->reset(null, $bytesPerCycle);
81 ($trailerPos = \strpos($reader->getBuffer(false), 'trailer', \max($bytesPerCycle * $cycles++, 0))) === false
83 if ($reader->increaseLength($bytesPerCycle) === false) {
95 $xrefContent = \substr($reader->getBuffer(false), 0, $trailerPos);
96 $reader->reset($reader->getPosition() + $trailerPos);