\JBuffer
Generic Buffer stream handler
This class provides a generic buffer stream. It can be used to store/retrieve/manipulate
string buffers with the standard PHP filesystem I/O methods.
Synopsis
class JBuffer
{
- // methods
- public boolean stream_open()
- public mixed stream_read()
- public integer stream_write()
- public integer stream_tell()
- public boolean stream_eof()
- public boolean stream_seek()
Members
public
- $buffers
—
array
Buffer hash - $name
—
string
Buffer name - $position
—
integer
Stream position
Methods
public
- stream_eof() — Function to test for end of file pointer
- stream_open() — Function to open file or url
- stream_read() — Read stream
- stream_seek() — The read write position updates in response to $offset and $whence
- stream_tell() — Function to get the current position of the stream
- stream_write() — Write stream