public function write($string)
    {
        $this->buffer .= $string;

        if (strlen($this->buffer) >= $this->hwm) {
            return false;
        }

        return strlen($string);
    }
public function write($string)
    {
        $this->buffer .= $string;

        if (strlen($this->buffer) >= $this->hwm) {
            return false;
        }

        return strlen($string);
    }
public function write ( $ string ) { $ this -> buffer .= $ string ; if ( strlen ( $ this -> buffer ) >= $ this -> hwm ) { return false ; } return strlen ( $ string ) ; }
Writes data to the buffer.
Writes data to the buffer .