Lines Matching refs:stream
26 …* @param StreamInterface $stream Stream to cache. The cursor is assumed to be at the beginning of …
30 StreamInterface $stream, argument
33 $this->remoteStream = $stream;
34 $this->stream = $target ?: new Stream(Utils::tryFopen('php://temp', 'r+'));
45 return max($this->stream->getSize(), $remoteSize);
69 $diff = $byte - $this->stream->getSize();
76 $diff = $byte - $this->stream->getSize();
80 $this->stream->seek($byte);
87 $data = $this->stream->read($length);
107 $this->stream->write($remoteData);
124 return $this->stream->write($string);
129 return $this->stream->eof() && $this->remoteStream->eof();
137 $this->remoteStream->close() && $this->stream->close();