protected function rewindAndSkipBom()
    {
        $byteOffsetToSkipBom = $this->encodingHelper->getBytesOffsetToSkipBOM($this->filePointer, $this->encoding);

        // sets the cursor after the BOM (0 means no BOM, so rewind it)
        $this->globalFunctionsHelper->fseek($this->filePointer, $byteOffsetToSkipBom);
    }
protected function rewindAndSkipBom()
    {
        $byteOffsetToSkipBom = $this->encodingHelper->getBytesOffsetToSkipBOM($this->filePointer, $this->encoding);

        // sets the cursor after the BOM (0 means no BOM, so rewind it)
        $this->globalFunctionsHelper->fseek($this->filePointer, $byteOffsetToSkipBom);
    }
protected function rewindAndSkipBom ( ) { $ byteOffsetToSkipBom = $ this -> encodingHelper -> getBytesOffsetToSkipBOM ( $ this -> filePointer , $ this -> encoding ) ; // sets the cursor after the BOM (0 means no BOM, so rewind it) $ this -> globalFunctionsHelper -> fseek ( $ this -> filePointer , $ byteOffsetToSkipBom ) ; }
This rewinds and skips the BOM if inserted at the beginning of the file
by moving the file pointer after it, so that it is not read.

@return void
This rewinds and skips the BOM if inserted at the beginning of the file by moving the file pointer after it so that it is not read .