PHP Класс Stream_17b32f3_Stream, amp-wp

Наследование: implements Stream_17b32f3_Streamable_Interface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$stream_string The string that we have downloaded so far
$strpos integer The pointer in the string

Открытые методы

Метод Описание
peek ( $characters ) : string Get characters from the string but don't move the pointer
read ( $characters ) : string Get Characters from the string
resetPointer ( ) : mixed Resets the pointer to the 0 position
write ( $string ) Append to the stream string

Описание методов

peek() публичный Метод

Get characters from the string but don't move the pointer
public peek ( $characters ) : string
$characters
Результат string

read() публичный Метод

Get Characters from the string
public read ( $characters ) : string
$characters
Результат string

resetPointer() публичный Метод

Resets the pointer to the 0 position
public resetPointer ( ) : mixed
Результат mixed

write() публичный Метод

Append to the stream string
public write ( $string )
$string

Описание свойств

$stream_string защищенное свойство

The string that we have downloaded so far
protected $stream_string

$strpos защищенное свойство

The pointer in the string
protected int $strpos
Результат integer