public function writeByte($byte)
    {
        // We do not need to check if file position points to the end of "file".
        // Only append operation is supported now

        $this->_data .= chr($byte);
        $this->_position = strlen($this->_data);

        return 1;
    }
public function writeByte($byte)
    {
        // We do not need to check if file position points to the end of "file".
        // Only append operation is supported now

        $this->_data .= chr($byte);
        $this->_position = strlen($this->_data);

        return 1;
    }
public function writeByte ( $ byte ) { // We do not need to check if file position points to the end of "file". // Only append operation is supported now $ this -> _data .= chr ( $ byte ) ; $ this -> _position = strlen ( $ this -> _data ) ; return 1 ; }
Writes a byte to the end of the file.

@param integer $byte
Writes a byte to the end of the file .