public function Stream::setSize

Specify the size of the stream in bytes

Parameters

int $size Size of the stream contents in bytes:

Return value

Stream

Overrides StreamInterface::setSize

File

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

Class

Stream
PHP stream implementation

Namespace

Guzzle\Stream

Code

public function setSize($size) {
  $this->size = $size;
  return $this;
}