classes/streams/PlaylistArchiveStream.php
protected function send($data)
    {
        $pos = $this->tell();

        // Add data to the end of the buffer.
        $this->seek(0, SEEK_END);
        $this->write($data);
        if ($pos !== false) {
            // Rewind so that read() can later read this data.
            $this->seek($pos);
        }
    }
protected function send($data)
    {
        $pos = $this->tell();

        // Add data to the end of the buffer.
        $this->seek(0, SEEK_END);
        $this->write($data);
        if ($pos !== false) {
            // Rewind so that read() can later read this data.
            $this->seek($pos);
        }
    }
protected function send ( $ data ) { $ pos = $ this -> tell ( ) ; // Add data to the end of the buffer. $ this -> seek ( 0 , SEEK_END ) ; $ this -> write ( $ data ) ; if ( $ pos !== false ) { // Rewind so that read() can later read this data. $ this -> seek ( $ pos ) ; } }
Add data to the archive.

@param string $data Data

@return void
Add data to the archive .