You are here

public function PoStreamReader::setSeek in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setSeek()

Sets the seek position for the current PO stream.

Parameters

int $seek: The new seek position to set.

File

lib/Drupal/Component/Gettext/PoStreamReader.php, line 203
Contains \Drupal\Component\Gettext\PoStreamReader.

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

public function setSeek($seek) {
  fseek($this->_fd, $seek);
}