Returns an EncodingMatch object containing the best guess for the encoding of the byte array
public function detect(): EncodingMatch;
object