sniff

fun sniff(bytes: ByteArray, hint: String? = null): String

Canonical name of the encoding decode would use: see the class doc.