stdlib
1.3
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
JVM
stdlib
/
kotlin.io
/
byteInputStream
byte
Input
Stream
JVM
inline
fun
String
.
byteInputStream
(
charset
:
Charset
=
Charsets.UTF_8
)
:
ByteArrayInputStream
(
source
)
Creates a new byte input stream for the string.
Since Kotlin
1.0