src/Analyzers/Analyzer.php
protected function readHeaderRaw($size)
    {
        if ($this->position + $size > $this->headerSize) {
            throw new \Exception('Can\'t read ' . $size . ' bytes');
        }
        $data = substr($this->header, $this->position, $size);
        $this->position += $size;
        return $data;
    }
protected function readHeaderRaw($size)
    {
        if ($this->position + $size > $this->headerSize) {
            throw new \Exception('Can\'t read ' . $size . ' bytes');
        }
        $data = substr($this->header, $this->position, $size);
        $this->position += $size;
        return $data;
    }
protected function readHeaderRaw ( $ size ) { if ( $ this -> position + $ size > $ this -> headerSize ) { throw new \ Exception ( 'Can\'t read ' . $ size . ' bytes' ) ; } $ data = substr ( $ this -> header , $ this -> position , $ size ) ; $ this -> position += $ size ; return $ data ; }
Read raw strings from the header of the recorded game file.

@param int  $size  Amount of characters to read.
@return string Result.
Read raw strings from the header of the recorded game file .