src/StreamExtractor.php
public function getBody()
    {
        if ($this->bodyContents) {
            return $this->bodyContents;
        }

        if (!$this->headerLen) {
            $this->determineHeaderLength();
        }

        fseek($this->fp, $this->headerStart + $this->headerLen, SEEK_SET);

        $this->bodyContents = '';
        while (!feof($this->fp)) {
            $this->bodyContents .= fread($this->fp, 8192);
        }
        fclose($this->fp);

        return $this->bodyContents;
    }
public function getBody()
    {
        if ($this->bodyContents) {
            return $this->bodyContents;
        }

        if (!$this->headerLen) {
            $this->determineHeaderLength();
        }

        fseek($this->fp, $this->headerStart + $this->headerLen, SEEK_SET);

        $this->bodyContents = '';
        while (!feof($this->fp)) {
            $this->bodyContents .= fread($this->fp, 8192);
        }
        fclose($this->fp);

        return $this->bodyContents;
    }
public function getBody ( ) { if ( $ this -> bodyContents ) { return $ this -> bodyContents ; } if ( ! $ this -> headerLen ) { $ this -> determineHeaderLength ( ) ; } fseek ( $ this -> fp , $ this -> headerStart + $ this -> headerLen , SEEK_SET ) ; $ this -> bodyContents = '' ; while ( ! feof ( $ this -> fp ) ) { $ this -> bodyContents .= fread ( $ this -> fp , 8192 ) ; } fclose ( $ this -> fp ) ; return $ this -> bodyContents ; }
Read or return the Recorded Game file's body.

@return string
Read or return the Recorded Game file s body .