src/Mime/MimeDetector.php
protected function checkString(string $str, int $offset = 0): bool
    {
        return $this->checkForBytes($this->toBytes($str), $offset);
    }
protected function checkString(string $str, int $offset = 0): bool
    {
        return $this->checkForBytes($this->toBytes($str), $offset);
    }
protected function checkString ( string $ str , int $ offset = 0 ) : bool { return $ this -> checkForBytes ( $ this -> toBytes ( $ str ) , $ offset ) ; }
Checks the byte sequence of a given string.

@param   string $str
@param   int    $offset
@return  bool
Checks the byte sequence of a given string .