Box\Spout\Reader\CSV\RowIterator::rewindAndSkipBom PHP Метод

rewindAndSkipBom() защищенный Метод

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.
protected rewindAndSkipBom ( ) : void
Результат void
    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);
    }