String

expect fun String(bytes: ByteArray, offset: Int = 0, length: Int = bytes.size, charset: Charset = Charsets.UTF_8): String

Create an instance of String from the specified bytes range starting at offset and bytes length interpreting characters in the specified charset.

actual fun String(bytes: ByteArray, offset: Int, length: Int, charset: Charset): String

Create an instance of String from the specified bytes range starting at offset and bytes length interpreting characters in the specified charset.

actual fun String(bytes: ByteArray, offset: Int, length: Int, charset: Charset): String

Create an instance of String from the specified bytes range starting at offset and bytes length interpreting characters in the specified charset.

actual fun String(bytes: ByteArray, offset: Int, length: Int, charset: Charset): String

Create an instance of String from the specified bytes range starting at offset and bytes length interpreting characters in the specified charset.