public function ReadLimitEntityBody::setOffset

Set the offset to start limiting from

Parameters

int $offset Offset to seek to and begin byte limiting from:

Return value

self

File

drupal/core/vendor/guzzle/http/Guzzle/Http/ReadLimitEntityBody.php, line 80

Class

ReadLimitEntityBody
EntityBody decorator used to return only a subset of an entity body

Namespace

Guzzle\Http

Code

public function setOffset($offset) {
  $this->body
    ->seek($offset);
  $this->offset = $offset;
  return $this;
}