decode

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

Decode bytes, guessing the encoding. Never throws; never returns null.