stringFromUtf8OrThrow
fun ByteArray.stringFromUtf8OrThrow(): String
fun ByteArray.stringFromUtf8OrThrow(
start: Int = 0,
size: Int = this.size
): String
Converts an UTF-8 array into a String.
Exceptions
IllegalCharacterConversionException
- if the input is invalid.