ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($str) | |
Constructor. More... | |
read ($bytes) | |
Read and returns a part of the string. More... | |
seekto ($pos) | |
Move the cursor to a specific position. More... | |
Data Fields | |
$pos | |
$str | |
$strlen | |
Definition at line 5 of file StringReader.php.
Gettext\Utils\StringReader::__construct | ( | $str | ) |
Constructor.
string | $str | The string to read |
Definition at line 16 of file StringReader.php.
References Gettext\Utils\StringReader\$str, and GuzzleHttp\Psr7\str().
Gettext\Utils\StringReader::read | ( | $bytes | ) |
Read and returns a part of the string.
int | $bytes | The number of bytes to read |
Definition at line 29 of file StringReader.php.
References $data, Gettext\Utils\StringReader\seekto(), and GuzzleHttp\Psr7\str().
Referenced by Gettext\Extractors\Mo\readInt(), and Gettext\Extractors\Mo\readIntArray().
Gettext\Utils\StringReader::seekto | ( | $pos | ) |
Move the cursor to a specific position.
int | $pos | The amount of bytes to move |
Definition at line 45 of file StringReader.php.
References Gettext\Utils\StringReader\$pos.
Referenced by Gettext\Utils\StringReader\read().
Gettext\Utils\StringReader::$pos |
Definition at line 7 of file StringReader.php.
Referenced by Gettext\Utils\StringReader\seekto().
Gettext\Utils\StringReader::$str |
Definition at line 8 of file StringReader.php.
Referenced by Gettext\Utils\StringReader\__construct().
Gettext\Utils\StringReader::$strlen |
Definition at line 9 of file StringReader.php.