Copied!

Provides a buffer stream that can be written to to fill a buffer, and read
from to remove bytes from the buffer.

This stream returns a "hwm" metadata value that tells upstream consumers
what the configured high water mark of the stream is, or the maximum
preferred size of the buffer.

Cloneable Instantiable
Methods
public __construct ( $hwm = 16384 )
 
public __toString ()
public close ()
public detach ()
public eof ()
public getContents ()
public getMetadata ( $key = NULL )
public getSize ()
public isReadable ()
public isSeekable ()
public isWritable ()
public read ( $length )
 

Reads data from the buffer.

public rewind ()
public seek ( $offset , $whence = 0 )
public tell ()
public write ( $string )
 

Writes data to the buffer.

Properties
private $buffer
private $hwm
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only