W3cubDocs

/Kotlin

toString

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

Platform and version requirements: JVM

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

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/to-string.html