toString

inline fun ByteArray.toString(charset: Charset): String(source)

Converts the contents of this byte array to a string using the specified charset.

Since Kotlin

1.0

Samples