original_string: public function getBytesOffsetToSkipBOM($filePointer, $encoding)
      {
          $byteOffsetToSkipBom = 0;
  
          if ($this->hasBOM($filePointer, $encoding)) {
              $bomUsed = $this->supportedEncodingsWithBom[$encoding];
  
              // we skip the N first bytes
              $byteOffsetToSkipBom = strlen($bomUsed);
          }
  
          return $byteOffsetToSkipBom;
      }
code: public function getBytesOffsetToSkipBOM($filePointer, $encoding)
      {
          $byteOffsetToSkipBom = 0;
  
          if ($this->hasBOM($filePointer, $encoding)) {
              $bomUsed = $this->supportedEncodingsWithBom[$encoding];
  
              // we skip the N first bytes
              $byteOffsetToSkipBom = strlen($bomUsed);
          }
  
          return $byteOffsetToSkipBom;
      }
code_tokens: public function getBytesOffsetToSkipBOM ( $ filePointer , $ encoding ) { $ byteOffsetToSkipBom = 0 ; if ( $ this -> hasBOM ( $ filePointer , $ encoding ) ) { $ bomUsed = $ this -> supportedEncodingsWithBom [ $ encoding ] ; // we skip the N first bytes $ byteOffsetToSkipBom = strlen ( $ bomUsed ) ; } return $ byteOffsetToSkipBom ; }
docstring: Returns the number of bytes to use as offset in order to skip the BOM.
  
  @param resource $filePointer Pointer to the file to check
  @param string $encoding Encoding of the file to check
  @return int Bytes offset to apply to skip the BOM (0 means no BOM)
docstring_tokens: Returns the number of bytes to use as offset in order to skip the BOM .