public function StreamInterface::setSize

Specify the size of the stream in bytes

Parameters

int $size Size of the stream contents in bytes:

Return value

Stream

2 methods override StreamInterface::setSize()
AbstractEntityBodyDecorator::setSize in drupal/core/vendor/guzzle/http/Guzzle/Http/AbstractEntityBodyDecorator.php
@codeCoverageIgnore
Stream::setSize in drupal/core/vendor/guzzle/stream/Guzzle/Stream/Stream.php
Specify the size of the stream in bytes

File

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

Class

StreamInterface
OO interface to PHP streams

Namespace

Guzzle\Stream

Code

public function setSize($size);