Lines Matching refs:streamReader
37 protected $streamReader;
73 * @param StreamReader $streamReader
75 public function __construct(StreamReader $streamReader)
77 $this->streamReader = $streamReader;
78 $this->tokenizer = new Tokenizer($streamReader);
98 return $this->streamReader;
123 $this->streamReader->reset(0);
127 $buffer = $this->streamReader->getBuffer(false);
130 if (!$this->streamReader->increaseLength(100) || (--$maxIterations === 0)) {
142 $this->streamReader->setOffset($offset);
144 $this->fileHeader = \trim($this->streamReader->readLine());
261 return PdfString::parse($this->streamReader);
264 if ($this->streamReader->getByte() === '<') {
266 $this->streamReader->addOffset(1);
267 return PdfDictionary::parse($this->tokenizer, $this->streamReader, $this);
271 return PdfHexString::parse($this->streamReader);
275 return PdfName::parse($this->tokenizer, $this->streamReader);
299 $this->streamReader