Метод |
Описание |
|
close ( ) |
Closes the buffer |
|
flush ( ) : boolean |
Flushes the buffer to the storage media |
|
getBuffer ( ) : string |
Returns the complete contents of the buffer |
|
getPosition ( ) : integer |
Returns the current pointer position |
|
getStat ( ) : array |
Returns the stat information for the buffer |
|
isEof ( ) : boolean |
Returns true if the pointer is at the end of the buffer |
|
read ( integer $count ) : string | null |
Reads $count bytes from the buffer |
|
setPosition ( integer $position, integer $whence ) : boolean |
Sets the pointer position |
|
write ( string $data ) : integer |
Writes the given date into the buffer at the current pointer position |
|