public function StreamInterface::read

Read data from the stream

Parameters

int $length Up to length number of bytes read.:

Return value

string|bool Returns the data read from the stream or FALSE on failure or EOF

2 methods override StreamInterface::read()
AbstractEntityBodyDecorator::read in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
@codeCoverageIgnore
Stream::read in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Read data from the stream

File

drupal/core/vendor/guzzle/stream/Guzzle/Stream/StreamInterface.php, line 140

Class

StreamInterface
OO interface to PHP streams

Namespace

Guzzle\Stream

Code

public function read($length);