kotlin.text.String
String
inline fun String( bytes: ByteArray, offset: Int, length: Int, charset: Charset ): String
Platform and version requirements: JVM
Converts the data from a portion of the specified array of bytes to characters using the specified character set and returns the conversion result as a string.
Parameters
bytes
- the source array for the conversion.
offset
- the offset in the array of the data to be converted.
length
- the number of bytes to be converted.
charset
- the character set to use.