Метод | Описание | |
---|---|---|
content ( ) : string | returns actual content | |
eof ( ) : boolean | checks whether pointer is at end of file | |
read ( integer $count ) : string | reads the given amount of bytes from content | |
seek ( integer $offset, integer $whence ) : boolean | seeks to the given offset | |
size ( ) : integer | returns size of content | |
truncate ( integer $size ) : boolean | Truncates a file to a given length | |
write ( string $data ) : amount | writes an amount of data |