\Colibri\IO\FileSystemStream

Абстрактный класс Стриминга

Summary

Methods
Properties
Constants
__construct()
__destruct()
__get()
seek()
read()
write()
flush()
close()
No public properties found
No constants found
No protected methods found
$_length
$_stream
N/A
No private methods found
No private properties found
N/A

Properties

$_length

$_length : integer

Длина стрима

Type

integer

$_stream

$_stream : mixed

Декриптор

Type

mixed

Methods

__construct()

__construct() 

Конструктор

__destruct()

__destruct() 

Деструктор

__get()

__get(string  $property) : mixed

Геттер

Parameters

string $property

свойство

Returns

mixed

seek()

seek(integer  $offset) : void

Передвинуть позицию

Parameters

integer $offset

куда передвинуть позицию

read()

read(integer  $offset = null, integer  $count = null) : string

Считать из стрима

Parameters

integer $offset

откуда начать считывание

integer $count

количество байл которые нужно считать

Returns

string

write()

write(string  $content, integer  $offset = null) : void

Записать в стрим

Parameters

string $content

контент, которые нужно записать

integer $offset

место откуда записать

flush()

flush() : void

Сохранить изменения

close()

close() : void

Закрыть стрим